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.h31
1 files changed, 16 insertions, 15 deletions
diff --git a/src/ui/widget.h b/src/ui/widget.h
index 88d75b62..90ccac8e 100644
--- a/src/ui/widget.h
+++ b/src/ui/widget.h
@@ -161,21 +161,22 @@ void destroy_Widget (iWidget *); /* widget removed and deleted later
161void destroyPending_Widget (void); 161void destroyPending_Widget (void);
162void releaseChildren_Widget (iWidget *); 162void releaseChildren_Widget (iWidget *);
163 163
164const iString *id_Widget (const iWidget *); 164const iString *id_Widget (const iWidget *);
165int64_t flags_Widget (const iWidget *); 165int64_t flags_Widget (const iWidget *);
166iRect bounds_Widget (const iWidget *); /* outer bounds */ 166iRect bounds_Widget (const iWidget *); /* outer bounds */
167iRect innerBounds_Widget (const iWidget *); 167iRect innerBounds_Widget (const iWidget *);
168iInt2 localCoord_Widget (const iWidget *, iInt2 coord); 168iInt2 localCoord_Widget (const iWidget *, iInt2 coord);
169iBool contains_Widget (const iWidget *, iInt2 coord); 169iBool contains_Widget (const iWidget *, iInt2 coord);
170iAny * hitChild_Widget (const iWidget *, iInt2 coord); 170iBool containsExpanded_Widget (const iWidget *, iInt2 coord, int expand);
171iAny * findChild_Widget (const iWidget *, const char *id); 171iAny * hitChild_Widget (const iWidget *, iInt2 coord);
172const iPtrArray *findChildren_Widget (const iWidget *, const char *id); 172iAny * findChild_Widget (const iWidget *, const char *id);
173iAny * findParentClass_Widget(const iWidget *, const iAnyClass *class); 173const iPtrArray *findChildren_Widget (const iWidget *, const char *id);
174iAny * findFocusable_Widget(const iWidget *startFrom, enum iWidgetFocusDir focusDir); 174iAny * findParentClass_Widget (const iWidget *, const iAnyClass *class);
175size_t childCount_Widget (const iWidget *); 175iAny * findFocusable_Widget (const iWidget *startFrom, enum iWidgetFocusDir focusDir);
176void draw_Widget (const iWidget *); 176size_t childCount_Widget (const iWidget *);
177void drawBackground_Widget(const iWidget *); 177void draw_Widget (const iWidget *);
178void drawChildren_Widget (const iWidget *); 178void drawBackground_Widget (const iWidget *);
179void drawChildren_Widget (const iWidget *);
179 180
180iLocalDef int width_Widget(const iAnyObject *d) { 181iLocalDef int width_Widget(const iAnyObject *d) {
181 if (d) { 182 if (d) {