diff options
| author | Michael R Sweet <michael.r.sweet@gmail.com> | 2001-08-02 19:43:49 +0000 |
|---|---|---|
| committer | Michael R Sweet <michael.r.sweet@gmail.com> | 2001-08-02 19:43:49 +0000 |
| commit | 9d81d971f7861da5f558ecd797cf0aa575288dc9 (patch) | |
| tree | 076df94b88a8b67631fd645bd9d5497bd0bf2f40 /FL/Fl_HelpDialog.H | |
| parent | 80247acbc2fe08fa9d5df4579469ea2431972586 (diff) | |
Fl_HelpDialog and Fl_HelpView widgets.
"help" demo.
Minor doco updates.
git-svn-id: file:///fltk/svn/fltk/branches/branch-1.1@1539 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
Diffstat (limited to 'FL/Fl_HelpDialog.H')
| -rw-r--r-- | FL/Fl_HelpDialog.H | 54 |
1 files changed, 54 insertions, 0 deletions
diff --git a/FL/Fl_HelpDialog.H b/FL/Fl_HelpDialog.H new file mode 100644 index 000000000..05756cbe0 --- /dev/null +++ b/FL/Fl_HelpDialog.H @@ -0,0 +1,54 @@ +// generated by Fast Light User Interface Designer (fluid) version 1.0100 + +#ifndef Fl_HelpDialog_H +#define Fl_HelpDialog_H +#include <FL/Fl.H> +#include <FL/Fl_Window.H> +#include <string.h> +#include <FL/Fl_HelpView.H> +#include <FL/Fl_Button.H> + +class Fl_HelpDialog { + int index_; + int max_; + int line_[100]; + char file_[100][256]; +public: + Fl_HelpDialog(); +private: + Fl_Window *window_; + Fl_HelpView *view_; + inline void cb_view__i(Fl_HelpView*, void*); + static void cb_view_(Fl_HelpView*, void*); + inline void cb_Close_i(Fl_Button*, void*); + static void cb_Close(Fl_Button*, void*); + Fl_Button *back_; + inline void cb_back__i(Fl_Button*, void*); + static void cb_back_(Fl_Button*, void*); + Fl_Button *forward_; + inline void cb_forward__i(Fl_Button*, void*); + static void cb_forward_(Fl_Button*, void*); + Fl_Button *smaller_; + inline void cb_smaller__i(Fl_Button*, void*); + static void cb_smaller_(Fl_Button*, void*); + Fl_Button *larger_; + inline void cb_larger__i(Fl_Button*, void*); + static void cb_larger_(Fl_Button*, void*); +public: + ~Fl_HelpDialog(); + int h(); + void hide(); + void load(const char *f); + void position(int xx, int yy); + void resize(int xx, int yy, int ww, int hh); + void show(); + void textsize(uchar s); + uchar textsize(); + void topline(const char *n); + void topline(int n); + int visible(); + int w(); + int x(); + int y(); +}; +#endif |
