summaryrefslogtreecommitdiff
path: root/fluid/Fl_Type.h
diff options
context:
space:
mode:
authorMichael R Sweet <michael.r.sweet@gmail.com>2001-08-11 16:09:26 +0000
committerMichael R Sweet <michael.r.sweet@gmail.com>2001-08-11 16:09:26 +0000
commit00ef77c2676606e5e215a369163aa01babb827da (patch)
tree17f5c811a281b72e126239943754c99282b8c2db /fluid/Fl_Type.h
parent64859c22f78f736eb9c44e5bd45dbbfafdab24d1 (diff)
Add new widgets to FLUID.
Add on-line help to FLUID. Change ALT shortcuts to CTRL shortcuts. Update config script to set documentation directory in config.h. git-svn-id: file:///fltk/svn/fltk/branches/branch-1.1@1572 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
Diffstat (limited to 'fluid/Fl_Type.h')
-rw-r--r--fluid/Fl_Type.h21
1 files changed, 19 insertions, 2 deletions
diff --git a/fluid/Fl_Type.h b/fluid/Fl_Type.h
index 96b039c77..8daac9789 100644
--- a/fluid/Fl_Type.h
+++ b/fluid/Fl_Type.h
@@ -1,5 +1,5 @@
//
-// "$Id: Fl_Type.h,v 1.5.2.11 2001/01/22 15:13:38 easysw Exp $"
+// "$Id: Fl_Type.h,v 1.5.2.11.2.1 2001/08/11 16:09:26 easysw Exp $"
//
// Widget type header file for the Fast Light Tool Kit (FLTK).
//
@@ -275,6 +275,7 @@ public:
#include <FL/Fl_Tabs.H>
#include <FL/Fl_Pack.H>
+#include <FL/Fl_Wizard.H>
class igroup : public Fl_Group {
public:
@@ -288,6 +289,12 @@ public:
itabs(int x,int y,int w,int h) : Fl_Tabs(x,y,w,h) {}
};
+class iwizard : public Fl_Wizard {
+public:
+ void resize(int,int,int,int);
+ iwizard(int x,int y,int w,int h) : Fl_Wizard(x,y,w,h) {}
+};
+
class Fl_Group_Type : public Fl_Widget_Type {
public:
virtual const char *type_name() {return "Fl_Group";}
@@ -345,6 +352,16 @@ public:
Fl_Widget_Type *_make() {return new Fl_Tile_Type();}
};
+extern const char wizard_type_name[];
+
+class Fl_Wizard_Type : public Fl_Group_Type {
+public:
+ virtual const char *type_name() {return wizard_type_name;}
+ Fl_Widget *widget(int x,int y,int w,int h) {
+ iwizard *g = new iwizard(x,y,w,h); Fl_Group::current(0); return g;}
+ Fl_Widget_Type *_make() {return new Fl_Wizard_Type();}
+};
+
extern Fl_Menu_Item window_type_menu[];
class Fl_Window_Type : public Fl_Widget_Type {
@@ -532,5 +549,5 @@ int storestring(const char *n, const char * & p, int nostrip=0);
extern int include_H_from_C;
//
-// End of "$Id: Fl_Type.h,v 1.5.2.11 2001/01/22 15:13:38 easysw Exp $".
+// End of "$Id: Fl_Type.h,v 1.5.2.11.2.1 2001/08/11 16:09:26 easysw Exp $".
//