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