diff options
| author | Bill Spitzak <spitzak@gmail.com> | 1999-08-05 09:01:25 +0000 |
|---|---|---|
| committer | Bill Spitzak <spitzak@gmail.com> | 1999-08-05 09:01:25 +0000 |
| commit | 467e73ed0b946bf882479c941bf666716482de7e (patch) | |
| tree | 5d6aa98810572aabe6fc693b512a8d1451548352 /fluid/Fl_Type.h | |
| parent | 16a999efd0f14f0a99fb01c4e8484ace744fd416 (diff) | |
Added Chrisophe Kalt's patch to add "extern "C"" to functions
if desired.
Added Chrisophe Kalt's patch to let you create Fl_Pack.
git-svn-id: file:///fltk/svn/fltk/branches/branch-1.0@638 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
Diffstat (limited to 'fluid/Fl_Type.h')
| -rw-r--r-- | fluid/Fl_Type.h | 17 |
1 files changed, 14 insertions, 3 deletions
diff --git a/fluid/Fl_Type.h b/fluid/Fl_Type.h index 167540c49..70b6b1043 100644 --- a/fluid/Fl_Type.h +++ b/fluid/Fl_Type.h @@ -1,5 +1,5 @@ // -// "$Id: Fl_Type.h,v 1.5.2.3 1999/08/05 08:01:36 bill Exp $" +// "$Id: Fl_Type.h,v 1.5.2.4 1999/08/05 09:01:25 bill Exp $" // // Widget type header file for the Fast Light Tool Kit (FLTK). // @@ -128,7 +128,7 @@ public: class Fl_Function_Type : public Fl_Type { const char* return_type; - char public_, constructor, havewidgets; + char public_, cdecl_, constructor, havewidgets; public: Fl_Type *make(); void write_code1(); @@ -271,6 +271,7 @@ public: }; #include <FL/Fl_Tabs.H> +#include <FL/Fl_Pack.H> class igroup : public Fl_Group { public: @@ -300,6 +301,16 @@ public: int is_group() const {return 1;} }; +extern const char pack_type_name[]; +extern Fl_Menu_Item pack_type_menu[]; + +class Fl_Pack_Type : public Fl_Group_Type { + Fl_Menu_Item *subtypes() {return pack_type_menu;} +public: + virtual const char *type_name() {return pack_type_name;} + Fl_Widget_Type *_make() {return new Fl_Pack_Type();} +}; + extern const char tabs_type_name[]; class Fl_Tabs_Type : public Fl_Group_Type { @@ -516,5 +527,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.3 1999/08/05 08:01:36 bill Exp $". +// End of "$Id: Fl_Type.h,v 1.5.2.4 1999/08/05 09:01:25 bill Exp $". // |
