diff options
author | Prashant Malani <pmalani@google.com> | 2016-03-12 01:36:33 +0100 |
---|---|---|
committer | Android (Google) Code Review <android-gerrit@google.com> | 2016-03-12 01:36:33 +0100 |
commit | 20df4adead04f5a137cce868c6b8024794d47fc0 (patch) | |
tree | 6e5f12b7393f9f6549d8568e260e7b450f2c21bb /screen_ui.h | |
parent | applypatch: use vector to store data in FileContents. (diff) | |
parent | recovery: Remove SetColor, and other refactoring for WearUI (diff) | |
download | android_bootable_recovery-20df4adead04f5a137cce868c6b8024794d47fc0.tar android_bootable_recovery-20df4adead04f5a137cce868c6b8024794d47fc0.tar.gz android_bootable_recovery-20df4adead04f5a137cce868c6b8024794d47fc0.tar.bz2 android_bootable_recovery-20df4adead04f5a137cce868c6b8024794d47fc0.tar.lz android_bootable_recovery-20df4adead04f5a137cce868c6b8024794d47fc0.tar.xz android_bootable_recovery-20df4adead04f5a137cce868c6b8024794d47fc0.tar.zst android_bootable_recovery-20df4adead04f5a137cce868c6b8024794d47fc0.zip |
Diffstat (limited to '')
-rw-r--r-- | screen_ui.h | 6 |
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 |