Fl_Wizard.H 1.5 KB

1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950515253545556575859606162
  1. //
  2. // "$Id: Fl_Wizard.H 8864 2011-07-19 04:49:30Z greg.ercolano $"
  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. /* \file
  19. Fl_Wizard widget . */
  20. //
  21. // Include necessary header files...
  22. //
  23. #ifndef _Fl_Wizard_H_
  24. # define _Fl_Wizard_H_
  25. # include <FL/Fl_Group.H>
  26. /**
  27. This widget is based off the Fl_Tabs
  28. widget, but instead of displaying tabs it only changes "tabs" under
  29. program control. Its primary purpose is to support "wizards" that
  30. step a user through configuration or troubleshooting tasks.
  31. <P>As with Fl_Tabs, wizard panes are composed of child (usually
  32. Fl_Group) widgets. Navigation buttons must be added separately.
  33. */
  34. class FL_EXPORT Fl_Wizard : public Fl_Group {
  35. Fl_Widget *value_;
  36. public:
  37. Fl_Wizard(int, int, int, int, const char * = 0);
  38. void draw();
  39. void next();
  40. void prev();
  41. Fl_Widget *value();
  42. void value(Fl_Widget *);
  43. DECLARE_CLASS_CHEAP_RTTI_2(Fl_Wizard, Fl_Group)
  44. };
  45. #endif // !_Fl_Wizard_H_
  46. //
  47. // End of "$Id: Fl_Wizard.H 8864 2011-07-19 04:49:30Z greg.ercolano $".
  48. //