1 //
2 // "$Id$"
3 //
4 // Fl_Wizard widget definitions.
5 //
6 // Copyright 1999-2010 by Easy Software Products.
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_Wizard widget . */
21 
22 //
23 // Include necessary header files...
24 //
25 
26 #ifndef _Fl_Wizard_H_
27 #  define _Fl_Wizard_H_
28 
29 #  include <FL/Fl_Group.H>
30 
31 
32 /**
33     This widget is based off the Fl_Tabs
34     widget, but instead of displaying tabs it only changes "tabs" under
35     program control. Its primary purpose is to support "wizards" that
36     step a user through configuration or troubleshooting tasks.
37 
38     <P>As with Fl_Tabs, wizard panes are composed of child (usually
39     Fl_Group) widgets. Navigation buttons must be added separately.
40 */
41 class FL_EXPORT Fl_Wizard : public Fl_Group {
42 
43   Fl_Widget *value_;
44 
45   void draw();
46 
47   public:
48 
49   Fl_Wizard(int, int, int, int, const char * = 0);
50 
51   void		next();
52   void		prev();
53   Fl_Widget	*value();
54   void		value(Fl_Widget *);
55 };
56 
57 #endif // !_Fl_Wizard_H_
58 
59 //
60 // End of "$Id$".
61 //
62