From 4ebdf97b70716df3ce467c474bd18cab0c60adb5 Mon Sep 17 00:00:00 2001 From: Manolo Gouy Date: Tue, 12 Apr 2016 17:06:20 +0000 Subject: Begin to rewrite Fl_File_Chooser2.cxx for the driver model. The parts with case-insensitive filename comparisons for WIN32 and for WIN32 but not CYGWIN still have to be rewritten. git-svn-id: file:///fltk/svn/fltk/branches/branch-1.3-porting@11588 ea41ed52-d2ee-0310-a9c1-e6b18d33e121 --- FL/Fl_System_Driver.H | 10 ++++++++++ 1 file changed, 10 insertions(+) (limited to 'FL') diff --git a/FL/Fl_System_Driver.H b/FL/Fl_System_Driver.H index 0ad4fd4b1..6ee90f7be 100644 --- a/FL/Fl_System_Driver.H +++ b/FL/Fl_System_Driver.H @@ -162,6 +162,16 @@ public: // the default implementations of pixmap_extra_transparent_processing() and make_unused_color() and are most probably enough virtual int pixmap_extra_transparent_processing() {return 0;} virtual void make_unused_color(unsigned char &r, unsigned char &g, unsigned char &b) {} + // implement to return the user's home directory name + virtual const char *home_directory_name() { return ""; } + // the default implementation is most probably enough + virtual const char *filesystems_label() { return "File Systems"; } + // return TRUE means \ same as / in file names + virtual int backslash_as_slash() {return 0;} + // return TRUE means : indicates a drive letter in file names + virtual int colon_is_drive() {return 0;} + // return TRUE means that files whose name begins with dot are hidden + virtual int dot_file_hidden() {return 0;} }; #endif // FL_SYSTEM_DRIVER_H -- cgit v1.2.3