summaryrefslogtreecommitdiffstats
path: root/fltk/fltk/compat/FL/Fl_File_Chooser.H
diff options
context:
space:
mode:
Diffstat (limited to 'fltk/fltk/compat/FL/Fl_File_Chooser.H')
-rw-r--r--fltk/fltk/compat/FL/Fl_File_Chooser.H16
1 files changed, 16 insertions, 0 deletions
diff --git a/fltk/fltk/compat/FL/Fl_File_Chooser.H b/fltk/fltk/compat/FL/Fl_File_Chooser.H
new file mode 100644
index 0000000..4f6a40d
--- /dev/null
+++ b/fltk/fltk/compat/FL/Fl_File_Chooser.H
@@ -0,0 +1,16 @@
+#ifndef Fl_File_Chooser_H
+#define Fl_File_Chooser_H
+
+#include "Fl_Widget.H"
+
+#include <fltk/FileChooser.h>
+typedef fltk::FileChooser Fl_File_Chooser;
+
+#include <fltk/file_chooser.h>
+
+//char *fl_dir_chooser(const char *message,const char *fname,int relative=0);
+inline const char *fl_file_chooser(const char *message,const char *pat,const char *fname,int /*relative*/ = 0) {
+ return fltk::file_chooser(message, pat, fname);
+}
+
+#endif