summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--fluid/Fl_Grid_Type.cxx8
-rw-r--r--fluid/Fl_Grid_Type.h2
2 files changed, 10 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();
diff --git a/fluid/Fl_Grid_Type.h b/fluid/Fl_Grid_Type.h
index 4c922f97d..1fd59277b 100644
--- a/fluid/Fl_Grid_Type.h
+++ b/fluid/Fl_Grid_Type.h
@@ -61,6 +61,8 @@ public:
void read_property(Fd_Project_Reader &f, const char *) FL_OVERRIDE;
void write_parent_properties(Fd_Project_Writer &f, Fl_Type *child, bool encapsulate) FL_OVERRIDE;
void read_parent_property(Fd_Project_Reader &f, Fl_Type *child, const char *property) FL_OVERRIDE;
+ Fl_Widget *enter_live_mode(int top=0) FL_OVERRIDE;
+ void leave_live_mode() FL_OVERRIDE;
void copy_properties() FL_OVERRIDE;
void write_code1(Fd_Code_Writer& f) FL_OVERRIDE;
void write_code2(Fd_Code_Writer& f) FL_OVERRIDE;