diff options
Diffstat (limited to 'fluid/nodes/Node.cxx')
| -rw-r--r-- | fluid/nodes/Node.cxx | 12 |
1 files changed, 6 insertions, 6 deletions
diff --git a/fluid/nodes/Node.cxx b/fluid/nodes/Node.cxx index 61d736f83..be54ce3a1 100644 --- a/fluid/nodes/Node.cxx +++ b/fluid/nodes/Node.cxx @@ -401,7 +401,7 @@ void delete_all(int selected_only) { if(!selected_only) { // reset the setting for the external shell command if (g_shell_config) { - g_shell_config->clear(fld::Tool_Store::PROJECT); + g_shell_config->clear(FLD_TOOL_STORE_PROJECT); g_shell_config->rebuild_shell_menu(); g_shell_config->update_settings_dialog(); } @@ -409,7 +409,7 @@ void delete_all(int selected_only) { widget_browser->hposition(0); widget_browser->vposition(0); } - Fluid.layout_list.remove_all(fld::Tool_Store::PROJECT); + Fluid.layout_list.remove_all(FLD_TOOL_STORE_PROJECT); Fluid.layout_list.current_suite(0); Fluid.layout_list.current_preset(0); Fluid.layout_list.update_dialogs(); @@ -603,7 +603,7 @@ Window_Node *Node::window() { if (!is_widget()) return nullptr; for (Node *t = this; t; t=t->parent) - if (t->is_a(Type::Window)) + if (t->is_a(FLD_NODE_TYPE_Window)) return (Window_Node*)t; return nullptr; } @@ -616,7 +616,7 @@ Group_Node *Node::group() { if (!is_widget()) return nullptr; for (Node *t = this; t; t=t->parent) - if (t->is_a(Type::Group)) + if (t->is_a(FLD_NODE_TYPE_Group)) return (Group_Node*)t; return nullptr; } @@ -831,7 +831,7 @@ Node *Node::remove() { } void Node::name(const char *n) { - int nostrip = is_a(Type::Comment); + int nostrip = is_a(FLD_NODE_TYPE_Comment); if (storestring(n,name_,nostrip)) { if (visible) widget_browser->redraw(); } @@ -1199,7 +1199,7 @@ void Node::copy_properties() { */ int Node::user_defined(const char* cbname) const { for (Node* p = Fluid.proj.tree.first; p ; p = p->next) - if (p->is_a(Type::Function) && p->name() != nullptr) + if (p->is_a(FLD_NODE_TYPE_Function) && p->name() != nullptr) if (strncmp(p->name(), cbname, strlen(cbname)) == 0) if (p->name()[strlen(cbname)] == '(') return 1; |
