summaryrefslogtreecommitdiff
path: root/fluid/nodes/Window_Node.h
diff options
context:
space:
mode:
authormaxim nikonov <maxim.nikonov@hqo.co>2026-02-05 23:48:25 +0500
committermaxim nikonov <maxim.nikonov@hqo.co>2026-02-05 23:48:25 +0500
commitc53067d2f6cfd6e3c6b476c51ab8c4b931e40a30 (patch)
tree95bfab59b2d9a38a57b6aa05244cab2d0435c7d2 /fluid/nodes/Window_Node.h
parent57860e277f2298ad6c0830b1492087cfa124c862 (diff)
wip
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;}