CtrlLib: ColumnList: AutoHideSb, FileSel: list is autohide, Video->Videos

git-svn-id: svn://ultimatepp.org/upp/trunk@2268 f0d560ea-af0d-0410-9eb7-867de7ffcac7
This commit is contained in:
cxl 2010-03-26 16:05:07 +00:00
parent 2630f5f28a
commit 78a692bab1
2 changed files with 5 additions and 1 deletions

View file

@ -198,6 +198,8 @@ public:
bool IsMultiSelect() const { return multi; }
ColumnList& PopUpEx(bool b = true) { popupex = b; return *this; }
ColumnList& NoPopUpEx() { return PopUpEx(false); }
ColumnList& AutoHideSb(bool b = true) { sb.AutoHide(b); return *this; }
ColumnList& NoAutoHideSb() { return AutoHideSb(false); }
ColumnList& SetScrollBarStyle(const ScrollBar::Style& s) { sb.SetStyle(s); return *this; }

View file

@ -1508,7 +1508,7 @@ FileSel& FileSel::AddStandardPlaces()
AddPlace(GetDesktopFolder(), t_("Desktop"));
AddPlace(GetMusicFolder(), t_("Music"));
AddPlace(GetPicturesFolder(), t_("Pictures"));
AddPlace(GetVideoFolder(), t_("Video"));
AddPlace(GetVideoFolder(), t_("Videos"));
AddPlace(GetDocumentsFolder(), t_("Documents"));
AddPlace(GetDownloadFolder(), t_("Downloads"));
AddPlaceSeparator();
@ -1654,6 +1654,8 @@ FileSel::FileSel() {
#endif
AddStandardPlaces();
list.AutoHideSb();
}
FileSel::~FileSel() {}