From bb6392f7ec94ba682ebade1d5b30eba9ff30ceb1 Mon Sep 17 00:00:00 2001 From: Matthias Melcher Date: Mon, 3 Jan 2011 08:28:38 +0000 Subject: Added Table and Tree support to Fluid. git-svn-id: file:///fltk/svn/fltk/branches/branch-1.3@8172 ea41ed52-d2ee-0310-a9c1-e6b18d33e121 --- fluid/Fl_Type.h | 15 +++++++++++++++ 1 file changed, 15 insertions(+) (limited to 'fluid/Fl_Type.h') 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 { -- cgit v1.2.3