summaryrefslogtreecommitdiff
path: root/src/ui/widget.h
diff options
context:
space:
mode:
authorJaakko Keränen <jaakko.keranen@iki.fi>2020-08-12 10:28:02 +0300
committerJaakko Keränen <jaakko.keranen@iki.fi>2020-08-12 10:28:02 +0300
commit1d54f7b990ea7f676403681577fc4df984cab0be (patch)
tree94a8ac83159f021dbbb354a6d76ecbaf83a63aad /src/ui/widget.h
parent38e09f15ff3e9c4781236016bfbb0b0f9062590b (diff)
Save and load app state (tabs, history)
Diffstat (limited to 'src/ui/widget.h')
-rw-r--r--src/ui/widget.h5
1 files changed, 5 insertions, 0 deletions
diff --git a/src/ui/widget.h b/src/ui/widget.h
index bf6489a0..c82e37f8 100644
--- a/src/ui/widget.h
+++ b/src/ui/widget.h
@@ -114,6 +114,11 @@ iAny * findFocusable_Widget(const iWidget *startFrom, enum iWidgetFocusDir focu
114size_t childCount_Widget (const iWidget *); 114size_t childCount_Widget (const iWidget *);
115void draw_Widget (const iWidget *); 115void draw_Widget (const iWidget *);
116 116
117iLocalDef iObjectList *children_Widget(iAnyObject *d) {
118 iAssert(isInstance_Object(d, &Class_Widget));
119 return ((iWidget *) d)->children;
120}
121
117iBool isVisible_Widget (const iWidget *); 122iBool isVisible_Widget (const iWidget *);
118iBool isDisabled_Widget (const iWidget *); 123iBool isDisabled_Widget (const iWidget *);
119iBool isFocused_Widget (const iWidget *); 124iBool isFocused_Widget (const iWidget *);