diff options
author | Elliott Hughes <enh@google.com> | 2015-04-10 19:12:01 -0700 |
---|---|---|
committer | Elliott Hughes <enh@google.com> | 2015-04-10 19:12:01 -0700 |
commit | 95fc63e87b7cd04cce65f78954b56b5cbc5d6c23 (patch) | |
tree | 9549b4e63e7bbc5ea2f1e81c5baba30d2fbd6e1d /screen_ui.h | |
parent | f19007a5252d62020c3ac8796908d9ee4653830d (diff) | |
download | bootable_recovery-95fc63e87b7cd04cce65f78954b56b5cbc5d6c23.zip bootable_recovery-95fc63e87b7cd04cce65f78954b56b5cbc5d6c23.tar.gz bootable_recovery-95fc63e87b7cd04cce65f78954b56b5cbc5d6c23.tar.bz2 |
Rewritten file pager.
Most importantly, this one no longer skips lines because of wrapping.
Change-Id: Ic1c1944682ab8cbf3d542418ee86d29819173fc9
Diffstat (limited to 'screen_ui.h')
-rw-r--r-- | screen_ui.h | 7 |
1 files changed, 6 insertions, 1 deletions
diff --git a/screen_ui.h b/screen_ui.h index ea1a95b..590e5c8 100644 --- a/screen_ui.h +++ b/screen_ui.h @@ -18,6 +18,7 @@ #define RECOVERY_SCREEN_UI_H #include <pthread.h> +#include <stdio.h> #include "ui.h" #include "minui/minui.h" @@ -114,7 +115,11 @@ class ScreenRecoveryUI : public RecoveryUI { static void* progress_thread(void* cookie); void progress_loop(); - void print_no_update(const char*); + void ShowFile(FILE*); + void PutChar(char); + void ClearText(); + + void DrawHorizontalRule(int* y); void LoadBitmap(const char* filename, gr_surface* surface); void LoadBitmapArray(const char* filename, int* frames, gr_surface** surface); |