FLTK 1.3.2

- Main Page
- Related Pages
- Modules
- Classes
- Files

- File List
- File Members

Fl_Help_Dialog.H
1 //
2 // "$Id: Fl_Help_Dialog.H 8864 2011-07-19 04:49:30Z greg.ercolano $"
3 //
4 // Fl_Help_Dialog dialog for the Fast Light Tool Kit (FLTK).
5 //
6 // Copyright 1998-2010 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 /* \file
20 Fl_Help_Dialog widget . */
21
22 // generated by Fast Light User Interface Designer (fluid) version 1.0108
23
24 #ifndef Fl_Help_Dialog_H
25 #define Fl_Help_Dialog_H
26 #include <FL/Fl.H>
27 #include <FL/Fl_Double_Window.H>
28 #include <FL/Fl_Group.H>
29 #include <FL/Fl_Button.H>
30 #include <FL/Fl_Input.H>
31 #include <FL/Fl_Box.H>
32 #include <FL/Fl_Help_View.H>
33
34 class FL_EXPORT Fl_Help_Dialog {
35 int index_;
36 int max_;
37 int line_[100]; // FIXME: we must remove those static numbers
38 char file_[100][FL_PATH_MAX]; // FIXME: we must remove those static numbers
39 int find_pos_;
40 public:
41 Fl_Help_Dialog();
42 private:
43 Fl_Double_Window *window_;
44 Fl_Button *back_;
45 void cb_back__i(Fl_Button*, void*);
46 static void cb_back_(Fl_Button*, void*);
47 Fl_Button *forward_;
48 void cb_forward__i(Fl_Button*, void*);
49 static void cb_forward_(Fl_Button*, void*);
50 Fl_Button *smaller_;
51 void cb_smaller__i(Fl_Button*, void*);
52 static void cb_smaller_(Fl_Button*, void*);
53 Fl_Button *larger_;
54 void cb_larger__i(Fl_Button*, void*);
55 static void cb_larger_(Fl_Button*, void*);
56 Fl_Input *find_;
57 void cb_find__i(Fl_Input*, void*);
58 static void cb_find_(Fl_Input*, void*);
59 Fl_Help_View *view_;
60 void cb_view__i(Fl_Help_View*, void*);
61 static void cb_view_(Fl_Help_View*, void*);
62 public:
63 ~Fl_Help_Dialog();
64 int h();
65 void hide();
66 void load(const char *f);
67 void position(int xx, int yy);
68 void resize(int xx, int yy, int ww, int hh);
69 void show();
70 void show(int argc, char **argv);
71 void textsize(Fl_Fontsize s);
72 Fl_Fontsize textsize();
73 void topline(const char *n);
74 void topline(int n);
75 void value(const char *f);
76 const char * value() const;
77 int visible();
78 int w();
79 int x();
80 int y();
81 };
82 #endif
83
84 //
85 // End of "$Id: Fl_Help_Dialog.H 8864 2011-07-19 04:49:30Z greg.ercolano $".
86 //
Fl.H
Fl static class.
Fl_Double_Window
The Fl_Double_Window provides a double-buffered window.
Definition: Fl_Double_Window.H:40
Fl_Help_View
The Fl_Help_View widget displays HTML text.
Definition: Fl_Help_View.H:200
Fl_Input
This is the FLTK text input widget.
Definition: Fl_Input.H:221
FL_PATH_MAX
#define FL_PATH_MAX
all path buffers should use this length
Definition: filename.H:38
Fl_Fontsize
int Fl_Fontsize
Size of a font in pixels.
Definition: Enumerations.H:746
Fl_Help_Dialog
The Fl_Help_Dialog widget displays a standard help dialog window using the Fl_Help_View widget...
Definition: Fl_Help_Dialog.H:34
Fl_Button
Buttons generate callbacks when they are clicked by the user.
Definition: Fl_Button.H:78
- © 1998-2012 by Bill Spitzak and others.