summaryrefslogtreecommitdiffstats
path: root/screen_ui.h
diff options
context:
space:
mode:
authorPrashant Malani <pmalani@google.com>2016-03-11 19:00:55 +0100
committerPrashant Malani <pmalani@google.com>2016-03-12 00:22:20 +0100
commit7a491225bbbb24593a4eda5dabe2fc1850d60dd1 (patch)
tree79758ad1e9fdeeb36f287460131a224fcd79ea90 /screen_ui.h
parentrecovery: Remove duplicate variables and functions (diff)
downloadandroid_bootable_recovery-7a491225bbbb24593a4eda5dabe2fc1850d60dd1.tar
android_bootable_recovery-7a491225bbbb24593a4eda5dabe2fc1850d60dd1.tar.gz
android_bootable_recovery-7a491225bbbb24593a4eda5dabe2fc1850d60dd1.tar.bz2
android_bootable_recovery-7a491225bbbb24593a4eda5dabe2fc1850d60dd1.tar.lz
android_bootable_recovery-7a491225bbbb24593a4eda5dabe2fc1850d60dd1.tar.xz
android_bootable_recovery-7a491225bbbb24593a4eda5dabe2fc1850d60dd1.tar.zst
android_bootable_recovery-7a491225bbbb24593a4eda5dabe2fc1850d60dd1.zip
Diffstat (limited to '')
-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