1 //
2 // "$Id$"
3 //
4 // Fl_Help_Dialog dialog for the Fast Light Tool Kit (FLTK).
5 //
6 // Copyright 1998-2015 by Bill Spitzak and others.
7 //
8 // This library is free software. Distribution and use rights are outlined in
9 // the file "COPYING" which should have been included with this file.  If this
10 // file is missing or damaged, see the license at:
11 //
12 //     http://www.fltk.org/COPYING.php
13 //
14 // Please report all bugs and problems on the following page:
15 //
16 //     http://www.fltk.org/str.php
17 //
18 // ========================================================================
19 //  DO NOT EDIT FL/Fl_Help_Dialog.H and src/Fl_Help_Dialog.cxx !!!
20 // ========================================================================
21 //  Please use fluid to change src/Fl_Help_Dialog.fl interactively
22 //  and then use fluid to "write code" or edit and use fluid -c .
23 // ========================================================================
24 //
25 
26 // generated by Fast Light User Interface Designer (fluid) version 1.0308
27 
28 #ifndef Fl_Help_Dialog_H
29 #define Fl_Help_Dialog_H
30 #include <FL/Fl.H>
31 #include <FL/Fl_Double_Window.H>
32 #include <FL/Fl_Group.H>
33 #include <FL/Fl_Button.H>
34 #include <FL/Fl_Input.H>
35 #include <FL/Fl_Box.H>
36 #include <FL/Fl_Help_View.H>
37 
38 class FL_EXPORT Fl_Help_Dialog {
39   int index_;
40   int max_;
41   int line_[100]; // FIXME: we must remove those static numbers
42   char file_[100][FL_PATH_MAX]; // FIXME: we must remove those static numbers
43   int find_pos_;
44 public:
45   Fl_Help_Dialog();
46 private:
47   Fl_Double_Window *window_;
48   Fl_Button *back_;
49   inline void cb_back__i(Fl_Button*, void*);
50   static void cb_back_(Fl_Button*, void*);
51   Fl_Button *forward_;
52   inline void cb_forward__i(Fl_Button*, void*);
53   static void cb_forward_(Fl_Button*, void*);
54   Fl_Button *smaller_;
55   inline void cb_smaller__i(Fl_Button*, void*);
56   static void cb_smaller_(Fl_Button*, void*);
57   Fl_Button *larger_;
58   inline void cb_larger__i(Fl_Button*, void*);
59   static void cb_larger_(Fl_Button*, void*);
60   Fl_Input *find_;
61   inline void cb_find__i(Fl_Input*, void*);
62   static void cb_find_(Fl_Input*, void*);
63   Fl_Help_View *view_;
64   inline void cb_view__i(Fl_Help_View*, void*);
65   static void cb_view_(Fl_Help_View*, void*);
66 public:
67   ~Fl_Help_Dialog();
68   int h();
69   void hide();
70   void load(const char *f);
71   void position(int xx, int yy);
72   void resize(int xx, int yy, int ww, int hh);
73   void show();
74   void show(int argc, char **argv);
75   void textsize(Fl_Fontsize s);
76   Fl_Fontsize textsize();
77   void topline(const char *n);
78   void topline(int n);
79   void value(const char *f);
80   const char * value() const;
81   int visible();
82   int w();
83   int x();
84   int y();
85 };
86 #endif
87 
88 //
89 // End of "$Id$".
90 //
91