From b010bc55c4ed22e8cbede27d5fe56b0ea843aef2 Mon Sep 17 00:00:00 2001 From: Michael R Sweet Date: Thu, 2 May 2002 15:24:34 +0000 Subject: Add sort function to file chooser. Document sort function and label strings for chooser. git-svn-id: file:///fltk/svn/fltk/branches/branch-1.1@2179 ea41ed52-d2ee-0310-a9c1-e6b18d33e121 --- FL/Fl_File_Chooser.H | 1 + documentation/Fl_File_Chooser.html | 28 ++++++++++++++++++++++++++++ src/Fl_File_Chooser.cxx | 3 +++ src/Fl_File_Chooser.fl | 4 +++- src/Fl_File_Chooser2.cxx | 7 ++++--- 5 files changed, 39 insertions(+), 4 deletions(-) diff --git a/FL/Fl_File_Chooser.H b/FL/Fl_File_Chooser.H index b778587a1..18b9a4473 100644 --- a/FL/Fl_File_Chooser.H +++ b/FL/Fl_File_Chooser.H @@ -83,6 +83,7 @@ public: static const char *directory_label; static const char *filename_label; static const char *filter_label; + static Fl_File_Sort_F *sort; }; extern FL_EXPORT char *fl_dir_chooser(const char *message,const char *fname,int relative=0); extern FL_EXPORT char *fl_file_chooser(const char *message,const char *pat,const char *fname,int relative=0); diff --git a/documentation/Fl_File_Chooser.html b/documentation/Fl_File_Chooser.html index 0e1db01af..c349ea5bd 100644 --- a/documentation/Fl_File_Chooser.html +++ b/documentation/Fl_File_Chooser.html @@ -27,6 +27,34 @@ dialog that supports various selection modes.
Fl_File_Chooser widget
+

The Fl_File_Chooser class also exports several static values +that may be used to localize or customize the appearance of all file chooser +dialogs: + +

+

Methods