| // |
| // "$Id: Fl_Wizard.H 8306 2011-01-24 17:04:22Z matt $" |
| // |
| // Fl_Wizard widget definitions. |
| // |
| // Copyright 1999-2010 by Easy Software Products. |
| // |
| // 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. |
| // |
| // Please report all bugs and problems on the following page: |
| // |
| // http://www.fltk.org/str.php |
| // |
| |
| /* \file |
| Fl_Wizard widget . */ |
| |
| // |
| // Include necessary header files... |
| // |
| |
| #ifndef _Fl_Wizard_H_ |
| # define _Fl_Wizard_H_ |
| |
| # include <FL/Fl_Group.H> |
| |
| |
| /** |
| 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. |
| |
| <P>As with Fl_Tabs, wizard panes are composed of child (usually |
| Fl_Group) widgets. Navigation buttons must be added separately. |
| */ |
| class FL_EXPORT Fl_Wizard : public Fl_Group { |
| |
| Fl_Widget *value_; |
| |
| void draw(); |
| |
| 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_ |
| |
| // |
| // End of "$Id: Fl_Wizard.H 8306 2011-01-24 17:04:22Z matt $". |
| // |