diff options
| author | Michael R Sweet <michael.r.sweet@gmail.com> | 2001-08-03 18:46:57 +0000 |
|---|---|---|
| committer | Michael R Sweet <michael.r.sweet@gmail.com> | 2001-08-03 18:46:57 +0000 |
| commit | 03b112773d646fec27265fb21ee9feea671b6fef (patch) | |
| tree | 773f6b64e3f9b60a6142b67697e8ab85f30e4edb /src/fl_file_chooser.cxx | |
| parent | 5994addecaf731a9468b77a4d3bb4e93def7a6e7 (diff) | |
File chooser cleanup (use fl_ok and fl_cancel for translated label
strings)
Remove fl_file_chooser_cb() function, which is not needed with the
new Fl_FileChooser dialog and related widgets.
List directories first, in boldface.
git-svn-id: file:///fltk/svn/fltk/branches/branch-1.1@1548 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
Diffstat (limited to 'src/fl_file_chooser.cxx')
| -rw-r--r-- | src/fl_file_chooser.cxx | 10 |
1 files changed, 2 insertions, 8 deletions
diff --git a/src/fl_file_chooser.cxx b/src/fl_file_chooser.cxx index d53adc7d8..8f6a37548 100644 --- a/src/fl_file_chooser.cxx +++ b/src/fl_file_chooser.cxx @@ -1,5 +1,5 @@ // -// "$Id: fl_file_chooser.cxx,v 1.10.2.10.2.2 2001/08/03 15:48:20 easysw Exp $" +// "$Id: fl_file_chooser.cxx,v 1.10.2.10.2.3 2001/08/03 18:46:57 easysw Exp $" // // File chooser widget for the Fast Light Tool Kit (FLTK). // @@ -29,12 +29,6 @@ static Fl_FileChooser *fc = (Fl_FileChooser *)0; -static void default_callback(const char*) {} -static void (*current_callback)(const char*) = default_callback; -void fl_file_chooser_callback(void (*cb)(const char*)) { - current_callback = cb ? cb : default_callback; -} - char* fl_file_chooser(const char* message, const char* pat, const char* fname) { if (!fname || !*fname) fname = "."; @@ -56,5 +50,5 @@ char* fl_file_chooser(const char* message, const char* pat, const char* fname) // -// End of "$Id: fl_file_chooser.cxx,v 1.10.2.10.2.2 2001/08/03 15:48:20 easysw Exp $". +// End of "$Id: fl_file_chooser.cxx,v 1.10.2.10.2.3 2001/08/03 18:46:57 easysw Exp $". // |
