diff options
| author | Manolo Gouy <Manolo> | 2011-01-16 18:26:51 +0000 |
|---|---|---|
| committer | Manolo Gouy <Manolo> | 2011-01-16 18:26:51 +0000 |
| commit | e2ddb1715c659dac6b8e751c2b5a772e229ebf57 (patch) | |
| tree | f1e164ebef308e8b6f4bc81102c5c733a15a218d /FL/Fl_File_Chooser.H | |
| parent | 774880acc5baa5ad24857a184f225a351c637e23 (diff) | |
Fl_File_Chooser: added a "Show hidden files" button. Hidden files aren't shown
by default now. This removes a TODO clause.
Fl_Native_File_Chooser: removed the hack that added the "Show hidden files" button, and
made the "file already exists" warning message localizable.
git-svn-id: file:///fltk/svn/fltk/branches/branch-1.3@8282 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
Diffstat (limited to 'FL/Fl_File_Chooser.H')
| -rw-r--r-- | FL/Fl_File_Chooser.H | 7 |
1 files changed, 7 insertions, 0 deletions
diff --git a/FL/Fl_File_Chooser.H b/FL/Fl_File_Chooser.H index 3b8777d97..21fa8ddd8 100644 --- a/FL/Fl_File_Chooser.H +++ b/FL/Fl_File_Chooser.H @@ -123,6 +123,9 @@ private: Fl_Return_Button *favOkButton; void cb_favOkButton_i(Fl_Return_Button*, void*); static void cb_favOkButton(Fl_Return_Button*, void*); + Fl_Check_Button *show_hidden; + static void show_hidden_cb(Fl_Check_Button*, void*); + void remove_hidden_files(); public: ~Fl_File_Chooser(); void callback(void (*cb)(Fl_File_Chooser *, void *), void *d = 0); @@ -213,6 +216,10 @@ public: [standard text may be customized at run-time] */ static const char *show_label; + /** + [standard text may be customized at run-time] + */ + static const char *hidden_label; /** the sort function that is used when loading the contents of a directory. |
