[773] | 1 | // generated by Fast Light User Interface Designer (fluid) version 1.0101 |
---|
| 2 | |
---|
| 3 | #ifndef Fl_Help_Dialog_H |
---|
| 4 | #define Fl_Help_Dialog_H |
---|
| 5 | #include <fltk/DoubleBufferWindow.h> |
---|
| 6 | #include <fltk/HelpView.h> |
---|
| 7 | #include <fltk/Button.h> |
---|
| 8 | |
---|
| 9 | namespace fltk { |
---|
| 10 | |
---|
| 11 | class FL_IMAGES_API HelpDialog { |
---|
| 12 | int index_; |
---|
| 13 | int max_; |
---|
| 14 | int line_[100]; |
---|
| 15 | char file_[100][256]; |
---|
| 16 | public: |
---|
| 17 | HelpDialog (); |
---|
| 18 | private: |
---|
| 19 | DoubleBufferWindow * window_; |
---|
| 20 | HelpView *view_; |
---|
| 21 | void cb_view__i (HelpView *, void *); |
---|
| 22 | static void cb_view_ (HelpView *, void *); |
---|
| 23 | void cb_Close_i (Button *, void *); |
---|
| 24 | static void cb_Close (Button *, void *); |
---|
| 25 | Button *back_; |
---|
| 26 | void cb_back__i (Button *, void *); |
---|
| 27 | static void cb_back_ (Button *, void *); |
---|
| 28 | Button *forward_; |
---|
| 29 | void cb_forward__i (Button *, void *); |
---|
| 30 | static void cb_forward_ (Button *, void *); |
---|
| 31 | Button *smaller_; |
---|
| 32 | void cb_smaller__i (Button *, void *); |
---|
| 33 | static void cb_smaller_ (Button *, void *); |
---|
| 34 | Button *larger_; |
---|
| 35 | void cb_larger__i (Button *, void *); |
---|
| 36 | static void cb_larger_ (Button *, void *); |
---|
| 37 | public: |
---|
| 38 | ~HelpDialog (); |
---|
| 39 | int h (); |
---|
| 40 | void hide (); |
---|
| 41 | void load (const char *f); |
---|
| 42 | void position (int xx, int yy); |
---|
| 43 | void resize (int xx, int yy, int ww, int hh); |
---|
| 44 | void show (); |
---|
| 45 | void show (int argc, char **argv); |
---|
| 46 | void textsize (int s); |
---|
| 47 | int textsize (); |
---|
| 48 | void topline (const char *n); |
---|
| 49 | void topline (int n); |
---|
| 50 | int visible (); |
---|
| 51 | int w (); |
---|
| 52 | int x (); |
---|
| 53 | int y (); |
---|
| 54 | }; |
---|
| 55 | |
---|
| 56 | } // namespace fltk |
---|
| 57 | |
---|
| 58 | #endif |
---|