summaryrefslogtreecommitdiffstats
path: root/screen_ui.h
diff options
context:
space:
mode:
authorTao Bao <tbao@google.com>2015-12-12 00:18:51 +0100
committerTao Bao <tbao@google.com>2015-12-16 20:35:52 +0100
commitb723f4f38f53a38502abb1a63165ac0749bc9cd9 (patch)
treec311d658de7ac03080583b24e9157cc6f502f1b4 /screen_ui.h
parentMerge "updater: Use O_SYNC and fsync() for package_extract_file()." (diff)
downloadandroid_bootable_recovery-b723f4f38f53a38502abb1a63165ac0749bc9cd9.tar
android_bootable_recovery-b723f4f38f53a38502abb1a63165ac0749bc9cd9.tar.gz
android_bootable_recovery-b723f4f38f53a38502abb1a63165ac0749bc9cd9.tar.bz2
android_bootable_recovery-b723f4f38f53a38502abb1a63165ac0749bc9cd9.tar.lz
android_bootable_recovery-b723f4f38f53a38502abb1a63165ac0749bc9cd9.tar.xz
android_bootable_recovery-b723f4f38f53a38502abb1a63165ac0749bc9cd9.tar.zst
android_bootable_recovery-b723f4f38f53a38502abb1a63165ac0749bc9cd9.zip
Diffstat (limited to '')
-rw-r--r--screen_ui.h4
1 files changed, 3 insertions, 1 deletions
diff --git a/screen_ui.h b/screen_ui.h
index 8e18864d7..08a5f44a9 100644
--- a/screen_ui.h
+++ b/screen_ui.h
@@ -109,6 +109,8 @@ class ScreenRecoveryUI : public RecoveryUI {
pthread_t progress_thread_;
+ // The following two are parsed from the image file
+ // (e.g. '/res/images/icon_installing.png').
int animation_fps;
int installing_frames;
@@ -135,7 +137,7 @@ class ScreenRecoveryUI : public RecoveryUI {
void DrawTextLines(int* y, const char* const* lines);
void LoadBitmap(const char* filename, GRSurface** surface);
- void LoadBitmapArray(const char* filename, int* frames, GRSurface*** surface);
+ void LoadBitmapArray(const char* filename, int* frames, int* fps, GRSurface*** surface);
void LoadLocalizedBitmap(const char* filename, GRSurface** surface);
};