FLTK 1.4.5: Fl_Wizard.H Source File

FLTK 1.4.5

Loading...
Searching...
No Matches
Fl_Wizard.H
1//
2// Fl_Wizard widget definitions.
3//
4// Copyright 1999-2010 by Easy Software Products.
5// Copyright 2011-2020 by Bill Spitzak and others.
6//
7// This library is free software. Distribution and use rights are outlined in
8// the file "COPYING" which should have been included with this file. If this
9// file is missing or damaged, see the license at:
10//
11// https://www.fltk.org/COPYING.php
12//
13// Please see the following page on how to report bugs and issues:
14//
15// https://www.fltk.org/bugs.php
16//
17
18/* \file
19 Fl_Wizard widget . */
20
21//
22// Include necessary header files...
23//
24
25#ifndef _Fl_Wizard_H_
26#define _Fl_Wizard_H_
27
28#include <FL/Fl_Group.H>
29
40 class FL_EXPORT Fl_Wizard : public Fl_Group {
41
42 Fl_Widget *value_;
43
44protected:
45
46 void draw() FL_OVERRIDE;
47
48public:
49
50 Fl_Wizard(int, int, int, int, const char * = 0);
51
52 void next();
53 void prev();
54 Fl_Widget *value();
55 void value(Fl_Widget *);
56};
57
58#endif // !_Fl_Wizard_H_
Fl_Group.H
Fl_Group and Fl_End classes.
Fl_Group::draw
void draw() FL_OVERRIDE
Draws the widget.
Definition Fl_Group.cxx:943
Fl_Wizard::Fl_Wizard
Fl_Wizard(int, int, int, int, const char *=0)
The constructor creates the Fl_Wizard widget at the specified position and size.
Definition Fl_Wizard.cxx:45
Fl_Wizard::next
void next()
This method shows the next child of the wizard.
Definition Fl_Wizard.cxx:87
Fl_Wizard::prev
void prev()
Shows the previous child.
Definition Fl_Wizard.cxx:104
Fl_Wizard::value
Fl_Widget * value()
Gets the current visible child widget.
Definition Fl_Wizard.cxx:122
FL_OVERRIDE
#define FL_OVERRIDE
This macro makes it safe to use the C++11 keyword override with older compilers.
Definition fl_attr.h:46