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.
|
|
|
|
//
|
2005-02-25 00:55:12 +03:00
|
|
|
// Copyright 1999-2005 by Easy Software Products.
|
2001-08-02 22:39:01 +04:00
|
|
|
//
|
|
|
|
// This library is free software; you can redistribute it and/or
|
|
|
|
// modify it under the terms of the GNU Library General Public
|
|
|
|
// License as published by the Free Software Foundation; either
|
|
|
|
// version 2 of the License, or (at your option) any later version.
|
|
|
|
//
|
|
|
|
// This library is distributed in the hope that it will be useful,
|
|
|
|
// but WITHOUT ANY WARRANTY; without even the implied warranty of
|
|
|
|
// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
|
|
|
|
// Library General Public License for more details.
|
|
|
|
//
|
|
|
|
// You should have received a copy of the GNU Library General Public
|
|
|
|
// License along with this library; if not, write to the Free Software
|
|
|
|
// Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307
|
|
|
|
// USA.
|
|
|
|
//
|
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.
|
|
|
|
*/
|
2002-07-14 23:08:25 +04: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
|
|
|
//
|