diff options
| author | Matthias Melcher <github@matthiasm.com> | 2023-10-31 22:00:29 +0100 |
|---|---|---|
| committer | Matthias Melcher <github@matthiasm.com> | 2023-10-31 22:00:38 +0100 |
| commit | 8bd1bd71622df37f097b04746a98389ddb890558 (patch) | |
| tree | e1ac3dde93bb660deab8013f7e50ec85c4bf8f22 /fluid/Fl_Grid_Type.h | |
| parent | 4b02c3614971f9334514e3f37cc27686c6485e2b (diff) | |
FLUID: Improves interactive handling of Grid and Flex
Diffstat (limited to 'fluid/Fl_Grid_Type.h')
| -rw-r--r-- | fluid/Fl_Grid_Type.h | 8 |
1 files changed, 8 insertions, 0 deletions
diff --git a/fluid/Fl_Grid_Type.h b/fluid/Fl_Grid_Type.h index 358489469..23f94c628 100644 --- a/fluid/Fl_Grid_Type.h +++ b/fluid/Fl_Grid_Type.h @@ -18,11 +18,18 @@ #define _FLUID_FL_GRID_TYPE_H #include "Fl_Group_Type.h" +#include <FL/Fl_Grid.H> // ---- Fl_Grid_Type --------------------------------------------------- MARK: - extern const char grid_type_name[]; +class Fl_Grid_Proxy : public Fl_Grid { +public: + Fl_Grid_Proxy(int X,int Y,int W,int H) : Fl_Grid(X,Y,W,H) {} + void resize(int,int,int,int) FL_OVERRIDE; +}; + class Fl_Grid_Type : public Fl_Group_Type { typedef Fl_Group_Type super; @@ -44,6 +51,7 @@ public: void add_child(Fl_Type*, Fl_Type*) FL_OVERRIDE; void move_child(Fl_Type*, Fl_Type*) FL_OVERRIDE; void remove_child(Fl_Type*) FL_OVERRIDE; + void layout_widget() FL_OVERRIDE; void child_resized(Fl_Widget_Type *child); void insert_child_at(Fl_Widget *child, int x, int y); void insert_child(Fl_Widget *child); |
