aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorElliott Hughes2015-04-10 21:12:01 -0500
committerElliott Hughes2015-04-10 21:12:01 -0500
commit95fc63e87b7cd04cce65f78954b56b5cbc5d6c23 (patch)
tree9549b4e63e7bbc5ea2f1e81c5baba30d2fbd6e1d /screen_ui.h
parentf19007a5252d62020c3ac8796908d9ee4653830d (diff)
downloadplatform-bootable-recovery-95fc63e87b7cd04cce65f78954b56b5cbc5d6c23.tar.gz
platform-bootable-recovery-95fc63e87b7cd04cce65f78954b56b5cbc5d6c23.tar.xz
platform-bootable-recovery-95fc63e87b7cd04cce65f78954b56b5cbc5d6c23.zip
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.h7
1 files changed, 6 insertions, 1 deletions
diff --git a/screen_ui.h b/screen_ui.h
index ea1a95be..590e5c8e 100644
--- a/screen_ui.h
+++ b/screen_ui.h
@@ -18,6 +18,7 @@
18#define RECOVERY_SCREEN_UI_H 18#define RECOVERY_SCREEN_UI_H
19 19
20#include <pthread.h> 20#include <pthread.h>
21#include <stdio.h>
21 22
22#include "ui.h" 23#include "ui.h"
23#include "minui/minui.h" 24#include "minui/minui.h"
@@ -114,7 +115,11 @@ class ScreenRecoveryUI : public RecoveryUI {
114 static void* progress_thread(void* cookie); 115 static void* progress_thread(void* cookie);
115 void progress_loop(); 116 void progress_loop();
116 117
117 void print_no_update(const char*); 118 void ShowFile(FILE*);
119 void PutChar(char);
120 void ClearText();
121
122 void DrawHorizontalRule(int* y);
118 123
119 void LoadBitmap(const char* filename, gr_surface* surface); 124 void LoadBitmap(const char* filename, gr_surface* surface);
120 void LoadBitmapArray(const char* filename, int* frames, gr_surface** surface); 125 void LoadBitmapArray(const char* filename, int* frames, gr_surface** surface);