summaryrefslogtreecommitdiff
path: root/src/ui/widget.h
diff options
context:
space:
mode:
authorJaakko Keränen <jaakko.keranen@iki.fi>2021-03-06 14:44:17 +0200
committerJaakko Keränen <jaakko.keranen@iki.fi>2021-03-06 14:44:17 +0200
commiteddc86b7b0795fe7c7a82d86f6ee151ccdca229f (patch)
tree7eea8ac70aa37d068adfc2d06dc066367a10572c /src/ui/widget.h
parent7fa64b95d0c63b243f50b23c5551a7e04fe90c30 (diff)
Mobile: Dealing with keyboard height
The software keyboard obstructs part of the UI, so need to offset the view if the focused input widget would not be visible.
Diffstat (limited to 'src/ui/widget.h')
-rw-r--r--src/ui/widget.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/src/ui/widget.h b/src/ui/widget.h
index b1ee8c73..602e86cb 100644
--- a/src/ui/widget.h
+++ b/src/ui/widget.h
@@ -232,6 +232,7 @@ iWidget *hover_Widget (void);
232void unhover_Widget (void); 232void unhover_Widget (void);
233void setMouseGrab_Widget (iWidget *); 233void setMouseGrab_Widget (iWidget *);
234iWidget *mouseGrab_Widget (void); 234iWidget *mouseGrab_Widget (void);
235iBool hasVisibleChildOnTop_Widget(const iWidget *parent);
235void printTree_Widget (const iWidget *); 236void printTree_Widget (const iWidget *);
236 237
237iBool equalWidget_Command (const char *cmd, const iWidget *widget, const char *checkCommand); 238iBool equalWidget_Command (const char *cmd, const iWidget *widget, const char *checkCommand);