aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
Diffstat (limited to 'screen_ui.h')
-rw-r--r--screen_ui.h13
1 files changed, 4 insertions, 9 deletions
diff --git a/screen_ui.h b/screen_ui.h
index 01a33bfe..210fd3e1 100644
--- a/screen_ui.h
+++ b/screen_ui.h
@@ -84,17 +84,14 @@ class ScreenRecoveryUI : public RecoveryUI {
84 // progress bar) 84 // progress bar)
85 bool pagesIdentical; 85 bool pagesIdentical;
86 86
87 static const int kMaxCols = 96;
88 static const int kMaxRows = 96;
89
90 // Log text overlay, displayed when a magic key is pressed 87 // Log text overlay, displayed when a magic key is pressed
91 char text[kMaxRows][kMaxCols]; 88 char** text;
92 int text_cols, text_rows; 89 size_t text_cols, text_rows;
93 int text_col, text_row, text_top; 90 size_t text_col, text_row, text_top;
94 bool show_text; 91 bool show_text;
95 bool show_text_ever; // has show_text ever been true? 92 bool show_text_ever; // has show_text ever been true?
96 93
97 char menu[kMaxRows][kMaxCols]; 94 char** menu;
98 bool show_menu; 95 bool show_menu;
99 int menu_top, menu_items, menu_sel; 96 int menu_top, menu_items, menu_sel;
100 97
@@ -102,8 +99,6 @@ class ScreenRecoveryUI : public RecoveryUI {
102 99
103 int animation_fps; 100 int animation_fps;
104 int installing_frames; 101 int installing_frames;
105 protected:
106 private:
107 102
108 int iconX, iconY; 103 int iconX, iconY;
109 104