mirror of
https://github.com/ultimatepp/ultimatepp.git
synced 2026-05-21 06:45:39 -06:00
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:
parent
2630f5f28a
commit
78a692bab1
2 changed files with 5 additions and 1 deletions
|
|
@ -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; }
|
||||
|
||||
|
|
|
|||
|
|
@ -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() {}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue