diff options
| author | Manolo Gouy <Manolo> | 2016-04-12 17:06:20 +0000 |
|---|---|---|
| committer | Manolo Gouy <Manolo> | 2016-04-12 17:06:20 +0000 |
| commit | 4ebdf97b70716df3ce467c474bd18cab0c60adb5 (patch) | |
| tree | f8b1ee87e89e01406ae7edf635570c92fc713e11 /FL | |
| parent | fce1483eb82be85c1b95abfd1d9a486556bce0e3 (diff) | |
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
Diffstat (limited to 'FL')
| -rw-r--r-- | FL/Fl_System_Driver.H | 10 |
1 files changed, 10 insertions, 0 deletions
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 |
