From 9817536cfd4a9ea8d9bb5ef41580a5ba3d254911 Mon Sep 17 00:00:00 2001 From: Matthias Melcher Date: Fri, 20 Oct 2023 19:00:42 +0200 Subject: FLUID: basic Fl_Grid support * no settings for children yet * ne good interactive editing for children --- fluid/Fl_Function_Type.cxx | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'fluid/Fl_Function_Type.cxx') diff --git a/fluid/Fl_Function_Type.cxx b/fluid/Fl_Function_Type.cxx index f88a6f9b1..10d9443a4 100644 --- a/fluid/Fl_Function_Type.cxx +++ b/fluid/Fl_Function_Type.cxx @@ -45,7 +45,7 @@ Fl_Class_Type *current_class = NULL; int has_toplevel_function(const char *rtype, const char *sig) { Fl_Type *child; for (child = Fl_Type::first; child; child = child->next) { - if (!child->is_in_class() && child->is_a(Fl_Type::ID_Function)) { + if (!child->is_in_class() && child->is_a(ID_Function)) { const Fl_Function_Type *fn = (const Fl_Function_Type*)child; if (fn->has_signature(rtype, sig)) return 1; @@ -1982,7 +1982,7 @@ void Fl_Class_Type::write_code2(Fd_Code_Writer& f) { int Fl_Type::has_function(const char *rtype, const char *sig) const { Fl_Type *child; for (child = next; child && child->level > level; child = child->next) { - if (child->level == level+1 && child->is_a(Fl_Type::ID_Function)) { + if (child->level == level+1 && child->is_a(ID_Function)) { const Fl_Function_Type *fn = (const Fl_Function_Type*)child; if (fn->has_signature(rtype, sig)) return 1; -- cgit v1.2.3