summaryrefslogtreecommitdiff
path: root/fluid/Fl_Type.h
diff options
context:
space:
mode:
authorMatthias Melcher <github@matthiasm.com>2022-02-13 22:01:16 +0100
committerGitHub <noreply@github.com>2022-02-13 22:01:16 +0100
commit8c3778e13feebced373497a3e4060ae065cf65b7 (patch)
tree96ba807115e42e5f3cd35156343ccf5f700e5559 /fluid/Fl_Type.h
parentf196ffbb528f9ec5030697bc03fb956f79c9563e (diff)
Better Fluid Widget dimension controls (#394)
* Size and position widgets can evaluate basic math. * Allowing x, y, w, and h as variables for formulas. Also supporting 'i' as a counting index when selecting multiple widgets, so setting Y: to i*25+10 arranges all selected widgets vertically. * Additional variables cx, etc. for children box cx, cy, cw, ch
Diffstat (limited to 'fluid/Fl_Type.h')
-rw-r--r--fluid/Fl_Type.h3
1 files changed, 3 insertions, 0 deletions
diff --git a/fluid/Fl_Type.h b/fluid/Fl_Type.h
index fa3a81ce9..2fd82f546 100644
--- a/fluid/Fl_Type.h
+++ b/fluid/Fl_Type.h
@@ -68,6 +68,9 @@ public: // things that should not be public:
int level; // number of parents over this
static Fl_Type *first, *last;
Fl_Type *next, *prev;
+ Fl_Type *prev_sibling();
+ Fl_Type *next_sibling();
+ Fl_Type *first_child();
Fl_Type *factory;
const char *callback_name();