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.h8
1 files changed, 4 insertions, 4 deletions
diff --git a/fluid/nodes/Window_Node.h b/fluid/nodes/Window_Node.h
index a6846168b..422326734 100644
--- a/fluid/nodes/Window_Node.h
+++ b/fluid/nodes/Window_Node.h
@@ -76,8 +76,8 @@ protected:
Fl_Widget *widget(int,int,int,int) override {return nullptr;}
int recalc; // set by fix_overlay()
void moveallchildren(int key=0);
- Type type() const override { return Type::Window; }
- bool is_a(Type inType) const override { return (inType==Type::Window) ? true : super::is_a(inType); }
+ 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); }
void open_();
public:
@@ -152,8 +152,8 @@ public:
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 Type::Widget_Class; }
- bool is_a(Type inType) const override { return (inType==Type::Widget_Class) ? true : super::is_a(inType); }
+ 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;}