f09e17c3c5
- remove obsolete svn '$Id$' tags from all source files - update .fl files and generated files accordingly - replace 'http://www.fltk.org' URL's with 'https://...' - replace bug report URL 'str.php' with 'bugs.php' - remove trailing whitespace - fix other whitespace errors flagged by Git - add and/or fix missing or wrong standard headers - convert tabs to spaces in all source files The only relevant code changes are in the fluid/ folder where some .fl files and other source files were used to generate the '$Id' headers and footers.
59 lines
1.3 KiB
C++
59 lines
1.3 KiB
C++
//
|
|
// Fl_Wizard widget definitions.
|
|
//
|
|
// Copyright 1999-2010 by Easy Software Products.
|
|
// Copyright 2011-2020 by Bill Spitzak and others.
|
|
//
|
|
// 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:
|
|
//
|
|
// https://www.fltk.org/COPYING.php
|
|
//
|
|
// Please see the following page on how to report bugs and issues:
|
|
//
|
|
// https://www.fltk.org/bugs.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.
|
|
|
|
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_;
|
|
|
|
protected:
|
|
|
|
virtual 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_
|