You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

71 lines
1.8KB

  1. //
  2. // "$Id: Fl_Wizard.H 8306 2011-01-24 17:04:22Z matt $"
  3. //
  4. // Fl_Wizard widget definitions.
  5. //
  6. // Copyright 1999-2010 by Easy Software Products.
  7. //
  8. // This library is free software; you can redistribute it and/or
  9. // modify it under the terms of the GNU Library General Public
  10. // License as published by the Free Software Foundation; either
  11. // version 2 of the License, or (at your option) any later version.
  12. //
  13. // This library is distributed in the hope that it will be useful,
  14. // but WITHOUT ANY WARRANTY; without even the implied warranty of
  15. // MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
  16. // Library General Public License for more details.
  17. //
  18. // You should have received a copy of the GNU Library General Public
  19. // License along with this library; if not, write to the Free Software
  20. // Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307
  21. // USA.
  22. //
  23. // Please report all bugs and problems on the following page:
  24. //
  25. // http://www.fltk.org/str.php
  26. //
  27. /* \file
  28. Fl_Wizard widget . */
  29. //
  30. // Include necessary header files...
  31. //
  32. #ifndef _Fl_Wizard_H_
  33. # define _Fl_Wizard_H_
  34. # include <FL/Fl_Group.H>
  35. /**
  36. This widget is based off the Fl_Tabs
  37. widget, but instead of displaying tabs it only changes "tabs" under
  38. program control. Its primary purpose is to support "wizards" that
  39. step a user through configuration or troubleshooting tasks.
  40. <P>As with Fl_Tabs, wizard panes are composed of child (usually
  41. Fl_Group) widgets. Navigation buttons must be added separately.
  42. */
  43. class FL_EXPORT Fl_Wizard : public Fl_Group {
  44. Fl_Widget *value_;
  45. void draw();
  46. public:
  47. Fl_Wizard(int, int, int, int, const char * = 0);
  48. void next();
  49. void prev();
  50. Fl_Widget *value();
  51. void value(Fl_Widget *);
  52. };
  53. #endif // !_Fl_Wizard_H_
  54. //
  55. // End of "$Id: Fl_Wizard.H 8306 2011-01-24 17:04:22Z matt $".
  56. //