diff options
| author | Matthias Melcher <github@matthiasm.com> | 2024-10-22 12:41:48 +0200 |
|---|---|---|
| committer | Matthias Melcher <github@matthiasm.com> | 2024-10-22 12:41:48 +0200 |
| commit | fb5c6522005d08c547bf93cddfc9cd156a59fd81 (patch) | |
| tree | ff8440807c8775b560a7aaac01902d6f616e7f6f /fluid/Fl_Grid_Type.cxx | |
| parent | 18e5c8232abf3da066468828c905fb63e0ab5484 (diff) | |
FLUID: quick fix for live preview of Grid: #1092
- Grid Type live preview support was not implemented
- this is not a final fix, but just to avoid a crash
- additional work needed for Flex and Grid
Diffstat (limited to 'fluid/Fl_Grid_Type.cxx')
| -rw-r--r-- | fluid/Fl_Grid_Type.cxx | 8 |
1 files changed, 8 insertions, 0 deletions
diff --git a/fluid/Fl_Grid_Type.cxx b/fluid/Fl_Grid_Type.cxx index b27a8be7c..af1c6267e 100644 --- a/fluid/Fl_Grid_Type.cxx +++ b/fluid/Fl_Grid_Type.cxx @@ -291,6 +291,14 @@ Fl_Widget *Fl_Grid_Type::widget(int X,int Y,int W,int H) { return g; } +Fl_Widget *Fl_Grid_Type::enter_live_mode(int top) { + Fl_Grid *grid = new Fl_Grid(o->x(), o->y(), o->w(), o->h()); + return propagate_live_mode(grid); +} + +void Fl_Grid_Type::leave_live_mode() { +} + void Fl_Grid_Type::copy_properties() { super::copy_properties(); |
