2001-08-02 22:39:01 +04:00
|
|
|
//
|
2005-02-25 00:55:12 +03:00
|
|
|
// "$Id$"
|
2001-08-02 22:39:01 +04:00
|
|
|
//
|
|
|
|
// Fl_Wizard widget definitions.
|
|
|
|
//
|
2010-11-29 00:06:39 +03:00
|
|
|
// Copyright 1999-2010 by Easy Software Products.
|
2001-08-02 22:39:01 +04:00
|
|
|
//
|
2011-07-19 08:49:30 +04:00
|
|
|
// This library is free software. Distribution and use rights are outlined in
|
|
|
|
// the file "COPYING" which should have been included with this file. If this
|
|
|
|
// file is missing or damaged, see the license at:
|
2001-08-02 22:39:01 +04:00
|
|
|
//
|
2011-07-19 08:49:30 +04:00
|
|
|
// http://www.fltk.org/COPYING.php
|
2001-08-02 22:39:01 +04:00
|
|
|
//
|
2005-04-16 04:13:17 +04:00
|
|
|
// Please report all bugs and problems on the following page:
|
|
|
|
//
|
|
|
|
// http://www.fltk.org/str.php
|
2001-08-02 22:39:01 +04:00
|
|
|
//
|
|
|
|
|
2008-10-15 17:46:06 +04:00
|
|
|
/* \file
|
2008-09-16 11:26:22 +04:00
|
|
|
Fl_Wizard widget . */
|
|
|
|
|
2001-08-02 22:39:01 +04:00
|
|
|
//
|
|
|
|
// Include necessary header files...
|
|
|
|
//
|
|
|
|
|
|
|
|
#ifndef _Fl_Wizard_H_
|
|
|
|
# define _Fl_Wizard_H_
|
|
|
|
|
|
|
|
# include <FL/Fl_Group.H>
|
|
|
|
|
|
|
|
|
2008-09-15 20:39:05 +04:00
|
|
|
/**
|
|
|
|
This widget is based off the Fl_Tabs
|
|
|
|
widget, but instead of displaying tabs it only changes "tabs" under
|
|
|
|
program control. Its primary purpose is to support "wizards" that
|
|
|
|
step a user through configuration or troubleshooting tasks.
|
2001-08-02 22:39:01 +04:00
|
|
|
|
2008-09-15 20:39:05 +04:00
|
|
|
<P>As with Fl_Tabs, wizard panes are composed of child (usually
|
|
|
|
Fl_Group) widgets. Navigation buttons must be added separately.
|
|
|
|
*/
|
2011-01-24 20:04:22 +03:00
|
|
|
class FL_EXPORT Fl_Wizard : public Fl_Group {
|
|
|
|
|
2001-08-02 22:39:01 +04:00
|
|
|
Fl_Widget *value_;
|
|
|
|
|
2002-08-14 20:19:48 +04:00
|
|
|
void draw();
|
2001-08-02 22:39:01 +04:00
|
|
|
|
|
|
|
public:
|
|
|
|
|
|
|
|
Fl_Wizard(int, int, int, int, const char * = 0);
|
|
|
|
|
|
|
|
void next();
|
|
|
|
void prev();
|
|
|
|
Fl_Widget *value();
|
|
|
|
void value(Fl_Widget *);
|
|
|
|
};
|
|
|
|
|
|
|
|
#endif // !_Fl_Wizard_H_
|
|
|
|
|
|
|
|
//
|
2005-02-25 00:55:12 +03:00
|
|
|
// End of "$Id$".
|
2001-08-02 22:39:01 +04:00
|
|
|
//
|