summaryrefslogtreecommitdiffstats
path: root/screen_ui.h
diff options
context:
space:
mode:
authorElliott Hughes <enh@google.com>2015-04-09 20:31:53 +0200
committerAndroid Git Automerger <android-git-automerger@android.com>2015-04-09 20:31:53 +0200
commit382ec478d1ed1576d25d51205a1c67b190174172 (patch)
tree07456a6307d1804376d51214e49698e2887ac1be /screen_ui.h
parentam fbde407e: Merge "Enable printf format argument checking." (diff)
parentMerge "Move file paging into ScreenRecoveryUI." (diff)
downloadandroid_bootable_recovery-382ec478d1ed1576d25d51205a1c67b190174172.tar
android_bootable_recovery-382ec478d1ed1576d25d51205a1c67b190174172.tar.gz
android_bootable_recovery-382ec478d1ed1576d25d51205a1c67b190174172.tar.bz2
android_bootable_recovery-382ec478d1ed1576d25d51205a1c67b190174172.tar.lz
android_bootable_recovery-382ec478d1ed1576d25d51205a1c67b190174172.tar.xz
android_bootable_recovery-382ec478d1ed1576d25d51205a1c67b190174172.tar.zst
android_bootable_recovery-382ec478d1ed1576d25d51205a1c67b190174172.zip
Diffstat (limited to 'screen_ui.h')
-rw-r--r--screen_ui.h8
1 files changed, 5 insertions, 3 deletions
diff --git a/screen_ui.h b/screen_ui.h
index 82647ac75..41ff4af11 100644
--- a/screen_ui.h
+++ b/screen_ui.h
@@ -48,6 +48,7 @@ class ScreenRecoveryUI : public RecoveryUI {
// printing messages
void Print(const char* fmt, ...) __printflike(2, 3);
+ void ShowFile(const char* filename);
// menu display
void StartMenu(const char* const * headers, const char* const * items,
@@ -80,11 +81,10 @@ class ScreenRecoveryUI : public RecoveryUI {
float progressScopeStart, progressScopeSize, progress;
double progressScopeTime, progressScopeDuration;
- // true when both graphics pages are the same (except for the
- // progress bar)
+ // true when both graphics pages are the same (except for the progress bar).
bool pagesIdentical;
- // Log text overlay, displayed when a magic key is pressed
+ // Log text overlay, displayed when a magic key is pressed.
char** text;
size_t text_cols, text_rows;
size_t text_col, text_row, text_top;
@@ -112,6 +112,8 @@ class ScreenRecoveryUI : public RecoveryUI {
static void* progress_thread(void* cookie);
void progress_loop();
+ void print_no_update(const char*);
+
void LoadBitmap(const char* filename, gr_surface* surface);
void LoadBitmapArray(const char* filename, int* frames, gr_surface** surface);
void LoadLocalizedBitmap(const char* filename, gr_surface* surface);