From 031fef8635dd599c0a8b29c6c8724366a39b9e87 Mon Sep 17 00:00:00 2001 From: Michael R Sweet Date: Mon, 1 Jul 2002 21:14:20 +0000 Subject: File chooser updates - ../ and ./ map properly, now show ".." in the directory list, added custom filter stuff, added filter_value() methods. git-svn-id: file:///fltk/svn/fltk/branches/branch-1.1@2487 ea41ed52-d2ee-0310-a9c1-e6b18d33e121 --- FL/Fl_File_Chooser.H | 3 +++ 1 file changed, 3 insertions(+) (limited to 'FL/Fl_File_Chooser.H') diff --git a/FL/Fl_File_Chooser.H b/FL/Fl_File_Chooser.H index 1f214fdb5..ee99f7250 100644 --- a/FL/Fl_File_Chooser.H +++ b/FL/Fl_File_Chooser.H @@ -101,6 +101,8 @@ public: char * directory(); void filter(const char *p); const char * filter(); + int filter_value(); + void filter_value(int f); void hide(); void iconsize(uchar s); uchar iconsize(); @@ -124,6 +126,7 @@ public: int visible(); static const char *add_favorites_label; static const char *all_files_label; + static const char *custom_filter_label; static const char *existing_file_label; static const char *favorites_label; static const char *filename_label; -- cgit v1.2.3