aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--screen_ui.cpp3
-rw-r--r--screen_ui.h2
2 files changed, 5 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;
diff --git a/screen_ui.h b/screen_ui.h
index 78fcb9b..09d4907 100644
--- a/screen_ui.h
+++ b/screen_ui.h
@@ -26,6 +26,8 @@
#define SYSBAR_BACK 0x01
#define SYSBAR_HOME 0x02
+#define BUTTON_SCALE_FACTOR 1.3
+
// Implementation of RecoveryUI appropriate for devices with a screen
// (shows an icon + a progress bar, text logging, menu, etc.)
class ScreenRecoveryUI : public RecoveryUI {