diff options
| author | No Author <No Author> | 2001-08-01 21:24:49 +0000 |
|---|---|---|
| committer | No Author <No Author> | 2001-08-01 21:24:49 +0000 |
| commit | 3cb5ebe0e811f3db008085d985b7761725589a74 (patch) | |
| tree | 0a7184a5f02fffe927af911758f3a9a4a2f4a37e /FL/Fl_FileChooser.H | |
| parent | 4477e166400f197bed50b09e01e695221cde96b6 (diff) | |
This commit was manufactured by cvs2svn to create branch 'branch-1.1'.
git-svn-id: file:///fltk/svn/fltk/branches/branch-1.1@1513 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
Diffstat (limited to 'FL/Fl_FileChooser.H')
| -rw-r--r-- | FL/Fl_FileChooser.H | 80 |
1 files changed, 80 insertions, 0 deletions
diff --git a/FL/Fl_FileChooser.H b/FL/Fl_FileChooser.H new file mode 100644 index 000000000..81790510b --- /dev/null +++ b/FL/Fl_FileChooser.H @@ -0,0 +1,80 @@ +// generated by Fast Light User Interface Designer (fluid) version 2.0000 + +#ifndef Fl_FileChooser_h +#define Fl_FileChooser_h +#include <FL/Fl.H> +#include <FL/Fl_Window.H> +#include <stdio.h> +#include <stdlib.h> +#include <string.h> +#include <FL/Fl_Choice.H> +#include <FL/Fl_Button.H> +#include "filename.H" +#include <FL/Fl_FileBrowser.H> +#include <FL/Fl_FileInput.H> +#include <FL/Fl_Return_Button.H> + +class FL_API Fl_FileChooser { +public: + enum { SINGLE, MULTI, CREATE }; + Fl_FileChooser(const char *d, const char *p, int t, const char *title); + Fl_Window *window; +private: + inline void cb_window_i(Fl_Window*, void*); + static void cb_window(Fl_Window*, void*); + Fl_Choice *dirMenu; + inline void cb_dirMenu_i(Fl_Choice*, void*); + static void cb_dirMenu(Fl_Choice*, void*); + Fl_Button *upButton; + inline void cb_upButton_i(Fl_Button*, void*); + static void cb_upButton(Fl_Button*, void*); + Fl_Button *newButton; + inline void cb_newButton_i(Fl_Button*, void*); + static void cb_newButton(Fl_Button*, void*); + inline void cb__i(Fl_Button*, void*); + static void cb_(Fl_Button*, void*); + Fl_FileBrowser *fileList; + inline void cb_fileList_i(Fl_FileBrowser*, void*); + static void cb_fileList(Fl_FileBrowser*, void*); + Fl_FileInput *fileName; + inline void cb_fileName_i(Fl_FileInput*, void*); + static void cb_fileName(Fl_FileInput*, void*); + Fl_Return_Button *okButton; + inline void cb_okButton_i(Fl_Return_Button*, void*); + static void cb_okButton(Fl_Return_Button*, void*); + inline void cb_Cancel_i(Fl_Button*, void*); + static void cb_Cancel(Fl_Button*, void*); + char directory_[1024]; + int type_; + void fileListCB(); + void fileNameCB(); + void newdir(); + void up(); +public: + void color(Fl_Color c); + Fl_Color color(); + int count(); + void directory(const char *d); + char * directory(); + void exec(); + void filter(const char *p); + const char * filter(); + void hide(); + void iconsize(uchar s); + uchar iconsize(); + void label(const char *l); + const char * label(); + void rescan(); + void textcolor(Fl_Color c); + Fl_Color textcolor(); + void textfont(Fl_Font f); + Fl_Font textfont(); + void textsize(uchar s); + uchar textsize(); + void type(int t); + int type(); + const char *value(int f = 1); + void value(const char *filename); + int visible(); +}; +#endif |
