diff options
| author | Matthias Melcher <fltk@matthiasm.com> | 2011-01-03 08:28:38 +0000 |
|---|---|---|
| committer | Matthias Melcher <fltk@matthiasm.com> | 2011-01-03 08:28:38 +0000 |
| commit | bb6392f7ec94ba682ebade1d5b30eba9ff30ceb1 (patch) | |
| tree | 4a2e3e527b008ebe33eebfeba7f32d61cd640a72 /fluid/Fl_Type.h | |
| parent | 29b06ba51bfda2a44b77bb0ebdab6dc8fe989d26 (diff) | |
Added Table and Tree support to Fluid.
git-svn-id: file:///fltk/svn/fltk/branches/branch-1.3@8172 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
Diffstat (limited to 'fluid/Fl_Type.h')
| -rw-r--r-- | fluid/Fl_Type.h | 15 |
1 files changed, 15 insertions, 0 deletions
diff --git a/fluid/Fl_Type.h b/fluid/Fl_Type.h index 66bf622ac..5a2dd4675 100644 --- a/fluid/Fl_Type.h +++ b/fluid/Fl_Type.h @@ -465,6 +465,21 @@ public: void copy_properties(); }; +extern const char table_type_name[]; + +class Fl_Table_Type : public Fl_Group_Type { +public: + virtual const char *type_name() {return table_type_name;} + virtual const char *alt_type_name() {return "fltk::TableGroup";} + Fl_Widget_Type *_make() {return new Fl_Table_Type();} + Fl_Widget *widget(int X,int Y,int W,int H); + int pixmapID() { return 51; } + virtual Fl_Widget *enter_live_mode(int top=0); + void add_child(Fl_Type*, Fl_Type*); + void move_child(Fl_Type*, Fl_Type*); + void remove_child(Fl_Type*); +}; + extern const char tabs_type_name[]; class Fl_Tabs_Type : public Fl_Group_Type { |
