diff options
author | Jaakko Keränen <jaakko.keranen@iki.fi> | 2021-04-29 16:53:39 +0300 |
---|---|---|
committer | Jaakko Keränen <jaakko.keranen@iki.fi> | 2021-04-29 16:53:39 +0300 |
commit | 5039199857ed0b1644a319d3cc514d63c3e3db45 (patch) | |
tree | e57e58592229e4bfed50ce12aa859ee07ee864c2 /src/ui/widget.h | |
parent | 190684240e303ad708e0522432849332011964f3 (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.h | 2 |
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 | ||
120 | enum iWidgetAddPos { | 121 | enum iWidgetAddPos { |
121 | back_WidgetAddPos, | 122 | back_WidgetAddPos, |
@@ -247,6 +248,7 @@ void showCollapsed_Widget (iWidget *, iBool show); /* takes care of re | |||
247 | void setBackgroundColor_Widget (iWidget *, int bgColor); | 248 | void setBackgroundColor_Widget (iWidget *, int bgColor); |
248 | void setFrameColor_Widget (iWidget *, int frameColor); | 249 | void setFrameColor_Widget (iWidget *, int frameColor); |
249 | void setCommandHandler_Widget (iWidget *, iBool (*handler)(iWidget *, const char *)); | 250 | void setCommandHandler_Widget (iWidget *, iBool (*handler)(iWidget *, const char *)); |
251 | void setRoot_Widget (iWidget *, iRoot *root); /* updates the entire tree */ | ||
250 | iAny * addChild_Widget (iWidget *, iAnyObject *child); /* holds a ref */ | 252 | iAny * addChild_Widget (iWidget *, iAnyObject *child); /* holds a ref */ |
251 | iAny * addChildPos_Widget (iWidget *, iAnyObject *child, enum iWidgetAddPos addPos); | 253 | iAny * addChildPos_Widget (iWidget *, iAnyObject *child, enum iWidgetAddPos addPos); |
252 | iAny * addChildPosFlags_Widget (iWidget *, iAnyObject *child, enum iWidgetAddPos addPos, int64_t childFlags); | 254 | iAny * addChildPosFlags_Widget (iWidget *, iAnyObject *child, enum iWidgetAddPos addPos, int64_t childFlags); |