diff options
author | Doug Zongker <dougz@android.com> | 2014-03-11 22:18:56 +0100 |
---|---|---|
committer | Gerrit Code Review <noreply-gerritcodereview@google.com> | 2014-03-11 22:18:56 +0100 |
commit | ea868b3846794cd36424f477503377ea9348137a (patch) | |
tree | 979387b5cb6cb777638f71c8773fbebbca04fea0 /screen_ui.h | |
parent | Merge "ADB sideload command not work" (diff) | |
parent | change how recovery animation is implemented (diff) | |
download | android_bootable_recovery-ea868b3846794cd36424f477503377ea9348137a.tar android_bootable_recovery-ea868b3846794cd36424f477503377ea9348137a.tar.gz android_bootable_recovery-ea868b3846794cd36424f477503377ea9348137a.tar.bz2 android_bootable_recovery-ea868b3846794cd36424f477503377ea9348137a.tar.lz android_bootable_recovery-ea868b3846794cd36424f477503377ea9348137a.tar.xz android_bootable_recovery-ea868b3846794cd36424f477503377ea9348137a.tar.zst android_bootable_recovery-ea868b3846794cd36424f477503377ea9348137a.zip |
Diffstat (limited to 'screen_ui.h')
-rw-r--r-- | screen_ui.h | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/screen_ui.h b/screen_ui.h index fc35d95b6..ada006d1e 100644 --- a/screen_ui.h +++ b/screen_ui.h @@ -69,8 +69,7 @@ class ScreenRecoveryUI : public RecoveryUI { pthread_mutex_t updateMutex; gr_surface backgroundIcon[5]; gr_surface backgroundText[5]; - gr_surface *installationOverlay; - gr_surface *progressBarIndeterminate; + gr_surface *installation; gr_surface progressBarEmpty; gr_surface progressBarFill; @@ -100,9 +99,9 @@ class ScreenRecoveryUI : public RecoveryUI { pthread_t progress_t; int animation_fps; - int indeterminate_frames; int installing_frames; - int overlay_offset_x, overlay_offset_y; + + int iconX, iconY; void draw_install_overlay_locked(int frame); void draw_background_locked(Icon icon); @@ -114,6 +113,7 @@ class ScreenRecoveryUI : public RecoveryUI { void progress_loop(); void LoadBitmap(const char* filename, gr_surface* surface); + void LoadBitmapArray(const char* filename, int* frames, gr_surface** surface); void LoadLocalizedBitmap(const char* filename, gr_surface* surface); }; |