summaryrefslogtreecommitdiff
path: root/src/ui/widget.h
diff options
context:
space:
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);