diff options
| author | Matthias Melcher <github@matthiasm.com> | 2023-10-20 19:00:42 +0200 |
|---|---|---|
| committer | Matthias Melcher <github@matthiasm.com> | 2023-10-20 19:00:52 +0200 |
| commit | 9817536cfd4a9ea8d9bb5ef41580a5ba3d254911 (patch) | |
| tree | c2f313d24dad7a95742f4673907863c65fd771b2 /fluid/Fd_Snap_Action.cxx | |
| parent | 757b5c12273cc1b4de8007b7c3f8536b699d2600 (diff) | |
FLUID: basic Fl_Grid support
* no settings for children yet
* ne good interactive editing for children
Diffstat (limited to 'fluid/Fd_Snap_Action.cxx')
| -rw-r--r-- | fluid/Fd_Snap_Action.cxx | 6 |
1 files changed, 3 insertions, 3 deletions
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; |
