summaryrefslogtreecommitdiffstats
path: root/screen_ui.h
diff options
context:
space:
mode:
authorPrashant Malani <pmalani@google.com>2016-03-10 23:51:25 +0100
committerPrashant Malani <pmalani@google.com>2016-03-11 00:36:31 +0100
commit0ba21cff07ceafeaa43e17aa26e341d961f6f29f (patch)
tree952df7e80dff00b8ad1d091d8a4bf65e31d16c88 /screen_ui.h
parentMerge "Reboot and retry on I/O errors" into nyc-dev (diff)
downloadandroid_bootable_recovery-0ba21cff07ceafeaa43e17aa26e341d961f6f29f.tar
android_bootable_recovery-0ba21cff07ceafeaa43e17aa26e341d961f6f29f.tar.gz
android_bootable_recovery-0ba21cff07ceafeaa43e17aa26e341d961f6f29f.tar.bz2
android_bootable_recovery-0ba21cff07ceafeaa43e17aa26e341d961f6f29f.tar.lz
android_bootable_recovery-0ba21cff07ceafeaa43e17aa26e341d961f6f29f.tar.xz
android_bootable_recovery-0ba21cff07ceafeaa43e17aa26e341d961f6f29f.tar.zst
android_bootable_recovery-0ba21cff07ceafeaa43e17aa26e341d961f6f29f.zip
Diffstat (limited to 'screen_ui.h')
-rw-r--r--screen_ui.h7
1 files changed, 4 insertions, 3 deletions
diff --git a/screen_ui.h b/screen_ui.h
index 08a5f44a9..6d1191087 100644
--- a/screen_ui.h
+++ b/screen_ui.h
@@ -71,9 +71,7 @@ class ScreenRecoveryUI : public RecoveryUI {
Icon currentIcon;
int installingFrame;
const char* locale;
- bool rtl_locale;
- pthread_mutex_t updateMutex;
GRSurface* backgroundIcon[5];
GRSurface* backgroundText[5];
GRSurface** installation;
@@ -136,9 +134,12 @@ class ScreenRecoveryUI : public RecoveryUI {
void DrawTextLine(int* y, const char* line, bool bold);
void DrawTextLines(int* y, const char* const* lines);
- void LoadBitmap(const char* filename, GRSurface** surface);
void LoadBitmapArray(const char* filename, int* frames, int* fps, GRSurface*** surface);
void LoadLocalizedBitmap(const char* filename, GRSurface** surface);
+ protected:
+ pthread_mutex_t updateMutex;
+ bool rtl_locale;
+ void LoadBitmap(const char* filename, GRSurface** surface);
};
#endif // RECOVERY_UI_H