diff options
author | Jaakko Keränen <jaakko.keranen@iki.fi> | 2021-03-06 14:44:17 +0200 |
---|---|---|
committer | Jaakko Keränen <jaakko.keranen@iki.fi> | 2021-03-06 14:44:17 +0200 |
commit | eddc86b7b0795fe7c7a82d86f6ee151ccdca229f (patch) | |
tree | 7eea8ac70aa37d068adfc2d06dc066367a10572c /src/ui/text.h | |
parent | 7fa64b95d0c63b243f50b23c5551a7e04fe90c30 (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/text.h')
-rw-r--r-- | src/ui/text.h | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/src/ui/text.h b/src/ui/text.h index f696b2e3..1118882d 100644 --- a/src/ui/text.h +++ b/src/ui/text.h | |||
@@ -161,6 +161,7 @@ void setContentFont_Text (enum iTextFont font); | |||
161 | void setHeadingFont_Text (enum iTextFont font); | 161 | void setHeadingFont_Text (enum iTextFont font); |
162 | void setContentFontSize_Text (float fontSizeFactor); /* affects all except `default*` fonts */ | 162 | void setContentFontSize_Text (float fontSizeFactor); /* affects all except `default*` fonts */ |
163 | void resetFonts_Text (void); | 163 | void resetFonts_Text (void); |
164 | int numPendingGlyphs_Text (void); | ||
164 | 165 | ||
165 | int lineHeight_Text (int fontId); | 166 | int lineHeight_Text (int fontId); |
166 | iInt2 measure_Text (int fontId, const char *text); | 167 | iInt2 measure_Text (int fontId, const char *text); |