diff options
| author | Greg Ercolano <erco@seriss.com> | 2020-07-14 11:34:18 -0700 |
|---|---|---|
| committer | Greg Ercolano <erco@seriss.com> | 2020-07-14 11:34:18 -0700 |
| commit | 54425030774eb04b29c749ffa85d224c8bbfcc34 (patch) | |
| tree | f6e8b0c9fd46f5bcf160de82d613e7799288e277 /FL/Fl_File_Chooser.H | |
| parent | 58296c373a79ac404e86f8a4b20a5309db2f00de (diff) | |
| parent | da76085fe71d2271847f95f5aa0694a9373fbba0 (diff) | |
Merge branch 'issue-99a': add OS error messages to Fl_File_Chooser
Pulling in Greg & Albrecht's work on PR #99 and PR #103.
This includes supporting operating system error messages
in the user's local language, which took some extra effort.
Diffstat (limited to 'FL/Fl_File_Chooser.H')
| -rw-r--r-- | FL/Fl_File_Chooser.H | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/FL/Fl_File_Chooser.H b/FL/Fl_File_Chooser.H index 702c4ff9f..341b8e683 100644 --- a/FL/Fl_File_Chooser.H +++ b/FL/Fl_File_Chooser.H @@ -85,6 +85,7 @@ private: Fl_File_Browser *fileList; inline void cb_fileList_i(Fl_File_Browser*, void*); static void cb_fileList(Fl_File_Browser*, void*); + Fl_Box *errorBox; Fl_Box *previewBox; public: Fl_Check_Button *previewButton; @@ -231,6 +232,8 @@ private: Fl_Widget* ext_group; public: Fl_Widget* add_extra(Fl_Widget* gr); +protected: + void show_error_box(int val); }; FL_EXPORT char *fl_dir_chooser(const char *message,const char *fname,int relative=0); FL_EXPORT char *fl_file_chooser(const char *message,const char *pat,const char *fname,int relative=0); |
