summaryrefslogtreecommitdiff
path: root/src/ui/widget.h
diff options
context:
space:
mode:
authorJaakko Keränen <jaakko.keranen@iki.fi>2020-10-24 08:18:46 +0300
committerJaakko Keränen <jaakko.keranen@iki.fi>2020-10-24 08:18:46 +0300
commit859fad2c6d5013ace7fcb749b591468dd0b65612 (patch)
tree7a743d1bc638ec014fd5006af5b0c2aa6c8124bf /src/ui/widget.h
parent57cc6baba013965b1e9aed244ed40ee604e8a872 (diff)
DocumentWidget: Page load progress indicator
Show clearly that something is happening, even though we don't know the exact duration of the operation.
Diffstat (limited to 'src/ui/widget.h')
-rw-r--r--src/ui/widget.h7
1 files changed, 7 insertions, 0 deletions
diff --git a/src/ui/widget.h b/src/ui/widget.h
index f39612ed..a1a38f28 100644
--- a/src/ui/widget.h
+++ b/src/ui/widget.h
@@ -160,6 +160,13 @@ iLocalDef iObjectList *children_Widget(iAnyObject *d) {
160 iAssert(isInstance_Object(d, &Class_Widget)); 160 iAssert(isInstance_Object(d, &Class_Widget));
161 return ((iWidget *) d)->children; 161 return ((iWidget *) d)->children;
162} 162}
163iLocalDef iWidget *parent_Widget(const iAnyObject *d) {
164 if (d) {
165 iAssert(isInstance_Object(d, &Class_Widget));
166 return ((iWidget *) d)->parent;
167 }
168 return NULL;
169}
163 170
164iBool isVisible_Widget (const iAnyObject *); 171iBool isVisible_Widget (const iAnyObject *);
165iBool isDisabled_Widget (const iAnyObject *); 172iBool isDisabled_Widget (const iAnyObject *);