summaryrefslogtreecommitdiff
path: root/fluid/nodes/Window_Node.h
diff options
context:
space:
mode:
Diffstat (limited to 'fluid/nodes/Window_Node.h')
-rw-r--r--fluid/nodes/Window_Node.h74
1 files changed, 37 insertions, 37 deletions
diff --git a/fluid/nodes/Window_Node.h b/fluid/nodes/Window_Node.h
index 6403dd78e..3c916576d 100644
--- a/fluid/nodes/Window_Node.h
+++ b/fluid/nodes/Window_Node.h
@@ -52,7 +52,7 @@ public:
static Window_Node prototype;
protected:
- Fl_Menu_Item* subtypes() override {return window_type_menu;}
+ Fl_Menu_Item* subtypes() {return window_type_menu;}
friend class Overlay_Window;
int mx,my; // mouse position during dragging
@@ -69,15 +69,15 @@ protected:
void newdx();
void newposition(Widget_Node *,int &x,int &y,int &w,int &h);
int handle(int);
- void setlabel(const char *) override;
- void write_code1(fld::io::Code_Writer& f) override;
- void write_code2(fld::io::Code_Writer& f) override;
- Widget_Node *_make() override {return 0;} // we don't call this
- Fl_Widget *widget(int,int,int,int) override {return 0;}
+ void setlabel(const char *);
+ void write_code1(fld::io::Code_Writer& f);
+ void write_code2(fld::io::Code_Writer& f);
+ Widget_Node *_make() {return 0;} // we don't call this
+ Fl_Widget *widget(int,int,int,int) {return 0;}
int recalc; // set by fix_overlay()
void moveallchildren(int key=0);
- Type type() const override { return FLD_NODE_TYPE_Window; }
- bool is_a(Type inType) const override { return (inType==FLD_NODE_TYPE_Window) ? true : super::is_a(inType); }
+ Type type() const { return FLD_NODE_TYPE_Window; }
+ bool is_a(Type inType) const { return (inType==FLD_NODE_TYPE_Window) ? true : super::is_a(inType); }
void open_();
public:
@@ -98,29 +98,29 @@ public:
uchar modal, non_modal;
const char *xclass; // junk string, used for shortcut
- Node *make(Strategy strategy) override;
- const char *type_name() override {return "Fl_Window";}
- const char *alt_type_name() override {return "fltk::Window";}
+ Node *make(Strategy strategy);
+ const char *type_name() {return "Fl_Window";}
+ const char *alt_type_name() {return "fltk::Window";}
- void open() override;
- void ideal_size(int &w, int &h) override;
+ void open();
+ void ideal_size(int &w, int &h);
void fix_overlay(); // Update the bounding box, etc
uchar *read_image(int &ww, int &hh); // Read an image of the window
- void write_properties(fld::io::Project_Writer &f) override;
- void read_property(fld::io::Project_Reader &f, const char *) override;
- int read_fdesign(const char*, const char*) override;
+ void write_properties(fld::io::Project_Writer &f);
+ void read_property(fld::io::Project_Reader &f, const char *);
+ int read_fdesign(const char*, const char*);
- void add_child(Node*, Node*) override;
- void move_child(Node*, Node*) override;
- void remove_child(Node*) override;
+ void add_child(Node*, Node*);
+ void move_child(Node*, Node*);
+ void remove_child(Node*);
- int can_have_children() const override {return 1;}
+ int can_have_children() const {return 1;}
- Fl_Widget *enter_live_mode(int top=0) override;
- void leave_live_mode() override;
- void copy_properties() override;
+ Fl_Widget *enter_live_mode(int top=0);
+ void leave_live_mode();
+ void copy_properties();
int sr_min_w, sr_min_h, sr_max_w, sr_max_h;
@@ -134,7 +134,7 @@ public:
static Widget_Class_Node prototype;
protected:
- Fl_Menu_Item* subtypes() override {return 0;}
+ Fl_Menu_Item* subtypes() {return 0;}
public:
Widget_Class_Node() {
@@ -145,19 +145,19 @@ public:
char write_public_state; // true when public: has been printed
char wc_relative; // if 1, reposition all children, if 2, reposition and resize
- void write_properties(fld::io::Project_Writer &f) override;
- void read_property(fld::io::Project_Reader &f, const char *) override;
-
- void write_code1(fld::io::Code_Writer& f) override;
- void write_code2(fld::io::Code_Writer& f) override;
- Node *make(Strategy strategy) override;
- const char *type_name() override {return "widget_class";}
- Type type() const override { return FLD_NODE_TYPE_Widget_Class; }
- bool is_a(Type inType) const override { return (inType==FLD_NODE_TYPE_Widget_Class) ? true : super::is_a(inType); }
- int can_have_children() const override {return 1;}
- int is_code_block() const override {return 1;}
- int is_decl_block() const override {return 1;}
- int is_class() const override {return 1;}
+ void write_properties(fld::io::Project_Writer &f);
+ void read_property(fld::io::Project_Reader &f, const char *);
+
+ void write_code1(fld::io::Code_Writer& f);
+ void write_code2(fld::io::Code_Writer& f);
+ Node *make(Strategy strategy);
+ const char *type_name() {return "widget_class";}
+ Type type() const { return FLD_NODE_TYPE_Widget_Class; }
+ bool is_a(Type inType) const { return (inType==FLD_NODE_TYPE_Widget_Class) ? true : super::is_a(inType); }
+ int can_have_children() const {return 1;}
+ int is_code_block() const {return 1;}
+ int is_decl_block() const {return 1;}
+ int is_class() const {return 1;}
};
#endif // FLUID_NODES_WINDOW_NODE_H