summaryrefslogtreecommitdiff
path: root/fluid/nodes/Grid_Node.h
diff options
context:
space:
mode:
authormaxim nikonov <maxim.nikonov@hqo.co>2026-02-06 13:41:26 +0500
committermaxim nikonov <maxim.nikonov@hqo.co>2026-02-06 13:41:26 +0500
commit9575eb0a1ffa8150f70f88b5f6b55f342c3c0088 (patch)
tree37f4d24696b03ab80b11c9d31b2c562be2e03ee3 /fluid/nodes/Grid_Node.h
parent260dc2c8828c70b0e147ea394f38e9ee6dc69ee3 (diff)
wip
Diffstat (limited to 'fluid/nodes/Grid_Node.h')
-rw-r--r--fluid/nodes/Grid_Node.h44
1 files changed, 22 insertions, 22 deletions
diff --git a/fluid/nodes/Grid_Node.h b/fluid/nodes/Grid_Node.h
index 706791d98..3caf77354 100644
--- a/fluid/nodes/Grid_Node.h
+++ b/fluid/nodes/Grid_Node.h
@@ -33,8 +33,8 @@ protected:
public:
Fl_Grid_Proxy(int X,int Y,int W,int H);
~Fl_Grid_Proxy();
- void resize(int,int,int,int) override;
- void draw() override;
+ void resize(int,int,int,int);
+ void draw();
void draw_overlay();
void move_cell(Fl_Widget *child, int to_row, int to_col, int how = 0);
Cell* any_cell(Fl_Widget *widget) const;
@@ -51,26 +51,26 @@ public:
static Grid_Node prototype;
public:
Grid_Node();
- const char *type_name() override {return "Fl_Grid";}
- const char *alt_type_name() override {return "fltk::GridGroup";}
- Widget_Node *_make() override { return new Grid_Node(); }
- Fl_Widget *widget(int X,int Y,int W,int H) override;
- Type type() const override { return FLD_NODE_TYPE_Grid; }
- bool is_a(Type inType) const override { return (inType==FLD_NODE_TYPE_Grid) ? true : super::is_a(inType); }
- void write_properties(fld::io::Project_Writer &f) override;
- void read_property(fld::io::Project_Reader &f, const char *) override;
- void write_parent_properties(fld::io::Project_Writer &f, Node *child, bool encapsulate) override;
- void read_parent_property(fld::io::Project_Reader &f, Node *child, const char *property) override;
- Fl_Widget *enter_live_mode(int top=0) override;
- void leave_live_mode() override;
- void copy_properties() override;
- void copy_properties_for_children() override;
- void write_code1(fld::io::Code_Writer& f) override;
- void write_code2(fld::io::Code_Writer& f) override;
- void add_child(Node*, Node*) override;
- void move_child(Node*, Node*) override;
- void remove_child(Node*) override;
- void layout_widget() override;
+ const char *type_name() {return "Fl_Grid";}
+ const char *alt_type_name() {return "fltk::GridGroup";}
+ Widget_Node *_make() { return new Grid_Node(); }
+ Fl_Widget *widget(int X,int Y,int W,int H);
+ Type type() const { return FLD_NODE_TYPE_Grid; }
+ bool is_a(Type inType) const { return (inType==FLD_NODE_TYPE_Grid) ? true : super::is_a(inType); }
+ void write_properties(fld::io::Project_Writer &f);
+ void read_property(fld::io::Project_Reader &f, const char *);
+ void write_parent_properties(fld::io::Project_Writer &f, Node *child, bool encapsulate);
+ void read_parent_property(fld::io::Project_Reader &f, Node *child, const char *property);
+ Fl_Widget *enter_live_mode(int top=0);
+ void leave_live_mode();
+ void copy_properties();
+ void copy_properties_for_children();
+ void write_code1(fld::io::Code_Writer& f);
+ void write_code2(fld::io::Code_Writer& f);
+ void add_child(Node*, Node*);
+ void move_child(Node*, Node*);
+ void remove_child(Node*);
+ void layout_widget();
void child_resized(Widget_Node *child);
void insert_child_at(Fl_Widget *child, int x, int y);
void insert_child_at_next_free_cell(Fl_Widget *child);