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/Fd_Snap_Action.cxx | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) (limited to 'fluid/Fd_Snap_Action.cxx') diff --git a/fluid/Fd_Snap_Action.cxx b/fluid/Fd_Snap_Action.cxx index e0597a8f9..7c5b81e4d 100644 --- a/fluid/Fd_Snap_Action.cxx +++ b/fluid/Fd_Snap_Action.cxx @@ -935,11 +935,11 @@ static bool in_window(Fd_Snap_Data &d) { } static bool in_group(Fd_Snap_Data &d) { - return (d.wgt && d.wgt->parent && d.wgt->parent->is_a(Fl_Type::ID_Group) && d.wgt->parent != d.win); + return (d.wgt && d.wgt->parent && d.wgt->parent->is_a(ID_Group) && d.wgt->parent != d.win); } static bool in_tabs(Fd_Snap_Data &d) { - return (d.wgt && d.wgt->parent && d.wgt->parent->is_a(Fl_Type::ID_Tabs)); + return (d.wgt && d.wgt->parent && d.wgt->parent->is_a(ID_Tabs)); } static Fl_Group *parent(Fd_Snap_Data &d) { @@ -1448,7 +1448,7 @@ public: clr(); best_match = NULL; if (!d.wgt) return; - if (!d.wgt->parent->is_a(Fl_Type::ID_Group)) return; + if (!d.wgt->parent->is_a(ID_Group)) return; int dsib_min = 1024; Fl_Group_Type *gt = (Fl_Group_Type*)d.wgt->parent; Fl_Group *g = (Fl_Group*)gt->o; -- cgit v1.2.3