From eddc86b7b0795fe7c7a82d86f6ee151ccdca229f Mon Sep 17 00:00:00 2001 From: Jaakko Keränen Date: Sat, 6 Mar 2021 14:44:17 +0200 Subject: 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. --- src/ui/widget.h | 1 + 1 file changed, 1 insertion(+) (limited to 'src/ui/widget.h') 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); void unhover_Widget (void); void setMouseGrab_Widget (iWidget *); iWidget *mouseGrab_Widget (void); +iBool hasVisibleChildOnTop_Widget(const iWidget *parent); void printTree_Widget (const iWidget *); iBool equalWidget_Command (const char *cmd, const iWidget *widget, const char *checkCommand); -- cgit v1.2.3