aboutsummaryrefslogtreecommitdiffstats
path: root/screen_ui.cpp
diff options
context:
space:
mode:
authorWolfgang Wiedmeyer <wolfgit@wiedmeyer.de>2017-06-14 16:00:33 +0200
committerWolfgang Wiedmeyer <wolfgit@wiedmeyer.de>2017-06-14 16:00:33 +0200
commit6fb619a032bfab5049c950e3b1919d31939b0a3c (patch)
treeb35db597d7517574bb905eae7df9a21b9e80752e /screen_ui.cpp
parentf7fc7522f96c98e2edba90261c7c85dcab44d7e1 (diff)
downloadbootable_recovery-6fb619a032bfab5049c950e3b1919d31939b0a3c.tar.gz
bootable_recovery-6fb619a032bfab5049c950e3b1919d31939b0a3c.tar.bz2
bootable_recovery-6fb619a032bfab5049c950e3b1919d31939b0a3c.zip
increase button size
Signed-off-by: Wolfgang Wiedmeyer <wolfgit@wiedmeyer.de>
Diffstat (limited to 'screen_ui.cpp')
-rw-r--r--screen_ui.cpp3
1 files changed, 3 insertions, 0 deletions
diff --git a/screen_ui.cpp b/screen_ui.cpp
index 656ddce..37d2d01 100644
--- a/screen_ui.cpp
+++ b/screen_ui.cpp
@@ -566,6 +566,9 @@ void ScreenRecoveryUI::Init() {
gr_set_font("menu");
gr_font_size(&char_width_, &char_height_);
+ char_height_ *= BUTTON_SCALE_FACTOR;
+ char_width_ *= BUTTON_SCALE_FACTOR;
+
text_col_ = text_row_ = 0;
text_top_ = 1;