summaryrefslogtreecommitdiffstats
path: root/screen_ui.h
diff options
context:
space:
mode:
authorPrashant Malani <pmalani@google.com>2016-03-12 01:39:48 +0100
committerandroid-build-merger <android-build-merger@google.com>2016-03-12 01:39:48 +0100
commit8dcd0149514830f8b73101d83c9eb3368acab340 (patch)
treeedbd71209fd803950315ca95f79de0048cdefe9f /screen_ui.h
parentapplypatch: use vector to store data in FileContents. (diff)
parentMerge "recovery: Remove SetColor, and other refactoring for WearUI" into nyc-dev (diff)
downloadandroid_bootable_recovery-8dcd0149514830f8b73101d83c9eb3368acab340.tar
android_bootable_recovery-8dcd0149514830f8b73101d83c9eb3368acab340.tar.gz
android_bootable_recovery-8dcd0149514830f8b73101d83c9eb3368acab340.tar.bz2
android_bootable_recovery-8dcd0149514830f8b73101d83c9eb3368acab340.tar.lz
android_bootable_recovery-8dcd0149514830f8b73101d83c9eb3368acab340.tar.xz
android_bootable_recovery-8dcd0149514830f8b73101d83c9eb3368acab340.tar.zst
android_bootable_recovery-8dcd0149514830f8b73101d83c9eb3368acab340.zip
Diffstat (limited to 'screen_ui.h')
-rw-r--r--screen_ui.h6
1 files changed, 4 insertions, 2 deletions
diff --git a/screen_ui.h b/screen_ui.h
index 6d1191087..9e1b2dfa1 100644
--- a/screen_ui.h
+++ b/screen_ui.h
@@ -131,15 +131,17 @@ class ScreenRecoveryUI : public RecoveryUI {
void ClearText();
void DrawHorizontalRule(int* y);
- void DrawTextLine(int* y, const char* line, bool bold);
- void DrawTextLines(int* y, const char* const* lines);
void LoadBitmapArray(const char* filename, int* frames, int* fps, GRSurface*** surface);
void LoadLocalizedBitmap(const char* filename, GRSurface** surface);
protected:
+ int char_width_;
+ int char_height_;
pthread_mutex_t updateMutex;
bool rtl_locale;
void LoadBitmap(const char* filename, GRSurface** surface);
+ void DrawTextLine(int x, int* y, const char* line, bool bold);
+ void DrawTextLines(int x, int* y, const char* const* lines);
};
#endif // RECOVERY_UI_H