From 9ca4aed1fa13df227ddebe4fed4353d9156ab414 Mon Sep 17 00:00:00 2001 From: Matthias Melcher Date: Thu, 2 Nov 2023 15:18:03 +0100 Subject: FLUID: Adds more interactive editing to Fl_Grid * this commit introduces a few FIXMEs and TODOs that probably can't be solved until we do some major refactoring. They work for now, but adding more layout controlling widgets will be hard. --- fluid/Fl_Grid_Type.h | 2 ++ 1 file changed, 2 insertions(+) (limited to 'fluid/Fl_Grid_Type.h') diff --git a/fluid/Fl_Grid_Type.h b/fluid/Fl_Grid_Type.h index cc627b383..6f509ff84 100644 --- a/fluid/Fl_Grid_Type.h +++ b/fluid/Fl_Grid_Type.h @@ -29,6 +29,7 @@ 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; void draw() FL_OVERRIDE; + void draw_overlay(); }; class Fl_Grid_Type : public Fl_Group_Type @@ -56,6 +57,7 @@ public: void child_resized(Fl_Widget_Type *child); void insert_child_at(Fl_Widget *child, int x, int y); void insert_child(Fl_Widget *child); + void keyboard_move_child(Fl_Widget_Type*, int key); static class Fl_Grid *selected(); }; -- cgit v1.2.3