diff options
author | Jaakko Keränen <jaakko.keranen@iki.fi> | 2020-07-25 14:24:06 +0300 |
---|---|---|
committer | Jaakko Keränen <jaakko.keranen@iki.fi> | 2020-07-25 14:24:06 +0300 |
commit | 570818dfd9f979a04375bbe0657139c62df34387 (patch) | |
tree | 96b39d2be9333c3d728ac89cb1c3054670c6585f /src/ui/widget.h | |
parent | 40421af6e6571b58b97b3e3372641de3b3ba60d8 (diff) |
Widget: Drawing optional frames
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 af3934e6..3155d6df 100644 --- a/src/ui/widget.h +++ b/src/ui/widget.h | |||
@@ -65,6 +65,7 @@ struct Impl_Widget { | |||
65 | int flags; | 65 | int flags; |
66 | iRect rect; | 66 | iRect rect; |
67 | int bgColor; | 67 | int bgColor; |
68 | int frameColor; | ||
68 | iObjectList *children; | 69 | iObjectList *children; |
69 | iWidget * parent; | 70 | iWidget * parent; |
70 | iBool (*commandHandler)(iWidget *, const char *); | 71 | iBool (*commandHandler)(iWidget *, const char *); |
@@ -113,6 +114,7 @@ void setFlags_Widget (iWidget *, int flags, iBool set); | |||
113 | void setPos_Widget (iWidget *, iInt2 pos); | 114 | void setPos_Widget (iWidget *, iInt2 pos); |
114 | void setSize_Widget (iWidget *, iInt2 size); | 115 | void setSize_Widget (iWidget *, iInt2 size); |
115 | void setBackgroundColor_Widget (iWidget *, int bgColor); | 116 | void setBackgroundColor_Widget (iWidget *, int bgColor); |
117 | void setFrameColor_Widget (iWidget *, int frameColor); | ||
116 | void setCommandHandler_Widget (iWidget *, iBool (*handler)(iWidget *, const char *)); | 118 | void setCommandHandler_Widget (iWidget *, iBool (*handler)(iWidget *, const char *)); |
117 | iAny * addChild_Widget (iWidget *, iAnyObject *child); /* holds a ref */ | 119 | iAny * addChild_Widget (iWidget *, iAnyObject *child); /* holds a ref */ |
118 | iAny * addChildPos_Widget (iWidget *, iAnyObject *child, enum iWidgetAddPos addPos); | 120 | iAny * addChildPos_Widget (iWidget *, iAnyObject *child, enum iWidgetAddPos addPos); |