summaryrefslogtreecommitdiffstats
path: root/screen_ui.h
diff options
context:
space:
mode:
authorDoug Zongker <dougz@google.com>2012-08-23 22:14:14 +0200
committerAndroid Git Automerger <android-git-automerger@android.com>2012-08-23 22:14:14 +0200
commitec5eceb849b7038b271dc5882cbbc8f72265e026 (patch)
tree2aa6f95cb875d258f62a5342ec2bb1ad0093e3bd /screen_ui.h
parentam a3ccba6d: add bonus data feature to imgdiff/imgpatch/applypatch (diff)
parentadd simple text to recovery UI (diff)
downloadandroid_bootable_recovery-ec5eceb849b7038b271dc5882cbbc8f72265e026.tar
android_bootable_recovery-ec5eceb849b7038b271dc5882cbbc8f72265e026.tar.gz
android_bootable_recovery-ec5eceb849b7038b271dc5882cbbc8f72265e026.tar.bz2
android_bootable_recovery-ec5eceb849b7038b271dc5882cbbc8f72265e026.tar.lz
android_bootable_recovery-ec5eceb849b7038b271dc5882cbbc8f72265e026.tar.xz
android_bootable_recovery-ec5eceb849b7038b271dc5882cbbc8f72265e026.tar.zst
android_bootable_recovery-ec5eceb849b7038b271dc5882cbbc8f72265e026.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 34929ee1a..16ee741b7 100644
--- a/screen_ui.h
+++ b/screen_ui.h
@@ -57,7 +57,8 @@ class ScreenRecoveryUI : public RecoveryUI {
int installingFrame;
pthread_mutex_t updateMutex;
- gr_surface backgroundIcon[3];
+ gr_surface backgroundIcon[5];
+ gr_surface backgroundText[5];
gr_surface *installationOverlay;
gr_surface *progressBarIndeterminate;
gr_surface progressBarEmpty;
@@ -92,6 +93,7 @@ class ScreenRecoveryUI : public RecoveryUI {
int indeterminate_frames;
int installing_frames;
int install_overlay_offset_x, install_overlay_offset_y;
+ int overlay_offset_x, overlay_offset_y;
void draw_install_overlay_locked(int frame);
void draw_background_locked(Icon icon);
@@ -104,7 +106,7 @@ class ScreenRecoveryUI : public RecoveryUI {
void progress_loop();
void LoadBitmap(const char* filename, gr_surface* surface);
-
+ void LoadLocalizedBitmap(const char* filename, gr_surface* surface);
};
#endif // RECOVERY_UI_H