summaryrefslogtreecommitdiff
path: root/src/ui/text.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/text.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/text.h')
-rw-r--r--src/ui/text.h1
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);
161void setHeadingFont_Text (enum iTextFont font); 161void setHeadingFont_Text (enum iTextFont font);
162void setContentFontSize_Text (float fontSizeFactor); /* affects all except `default*` fonts */ 162void setContentFontSize_Text (float fontSizeFactor); /* affects all except `default*` fonts */
163void resetFonts_Text (void); 163void resetFonts_Text (void);
164int numPendingGlyphs_Text (void);
164 165
165int lineHeight_Text (int fontId); 166int lineHeight_Text (int fontId);
166iInt2 measure_Text (int fontId, const char *text); 167iInt2 measure_Text (int fontId, const char *text);