summaryrefslogtreecommitdiff
path: root/src/ui/widget.h
diff options
context:
space:
mode:
authorJaakko Keränen <jaakko.keranen@iki.fi>2021-04-29 16:53:39 +0300
committerJaakko Keränen <jaakko.keranen@iki.fi>2021-04-29 16:53:39 +0300
commit5039199857ed0b1644a319d3cc514d63c3e3db45 (patch)
treee57e58592229e4bfed50ce12aa859ee07ee864c2 /src/ui/widget.h
parent190684240e303ad708e0522432849332011964f3 (diff)
Working on multiple UI roots
Added a menu for changing the split mode.
Diffstat (limited to 'src/ui/widget.h')
-rw-r--r--src/ui/widget.h2
1 files changed, 2 insertions, 0 deletions
diff --git a/src/ui/widget.h b/src/ui/widget.h
index 2ef035b6..c3c9609e 100644
--- a/src/ui/widget.h
+++ b/src/ui/widget.h
@@ -116,6 +116,7 @@ enum iWidgetFlag {
116#define parentCannotResizeHeight_WidgetFlag iBit64(58) 116#define parentCannotResizeHeight_WidgetFlag iBit64(58)
117#define ignoreForParentWidth_WidgetFlag iBit64(59) 117#define ignoreForParentWidth_WidgetFlag iBit64(59)
118#define noFadeBackground_WidgetFlag iBit64(60) 118#define noFadeBackground_WidgetFlag iBit64(60)
119#define disabledWhenHidden_WidgetFlag iBit64(61)
119 120
120enum iWidgetAddPos { 121enum iWidgetAddPos {
121 back_WidgetAddPos, 122 back_WidgetAddPos,
@@ -247,6 +248,7 @@ void showCollapsed_Widget (iWidget *, iBool show); /* takes care of re
247void setBackgroundColor_Widget (iWidget *, int bgColor); 248void setBackgroundColor_Widget (iWidget *, int bgColor);
248void setFrameColor_Widget (iWidget *, int frameColor); 249void setFrameColor_Widget (iWidget *, int frameColor);
249void setCommandHandler_Widget (iWidget *, iBool (*handler)(iWidget *, const char *)); 250void setCommandHandler_Widget (iWidget *, iBool (*handler)(iWidget *, const char *));
251void setRoot_Widget (iWidget *, iRoot *root); /* updates the entire tree */
250iAny * addChild_Widget (iWidget *, iAnyObject *child); /* holds a ref */ 252iAny * addChild_Widget (iWidget *, iAnyObject *child); /* holds a ref */
251iAny * addChildPos_Widget (iWidget *, iAnyObject *child, enum iWidgetAddPos addPos); 253iAny * addChildPos_Widget (iWidget *, iAnyObject *child, enum iWidgetAddPos addPos);
252iAny * addChildPosFlags_Widget (iWidget *, iAnyObject *child, enum iWidgetAddPos addPos, int64_t childFlags); 254iAny * addChildPosFlags_Widget (iWidget *, iAnyObject *child, enum iWidgetAddPos addPos, int64_t childFlags);