summaryrefslogtreecommitdiffstats
path: root/screen_ui.h
diff options
context:
space:
mode:
authorTao Bao <tbao@google.com>2015-12-18 23:32:36 +0100
committerandroid-build-merger <android-build-merger@google.com>2015-12-18 23:32:36 +0100
commit2538b952b8d71178b4fb7151730525ca5b2aa668 (patch)
tree1677a4e8ff40de32760dc5b098752c6d82404f00 /screen_ui.h
parentMerge "updater: Use O_SYNC and fsync() for package_extract_file()." am: 4e72d1a81e (diff)
parentMerge "res: Embed FPS into icon_installing.png." (diff)
downloadandroid_bootable_recovery-2538b952b8d71178b4fb7151730525ca5b2aa668.tar
android_bootable_recovery-2538b952b8d71178b4fb7151730525ca5b2aa668.tar.gz
android_bootable_recovery-2538b952b8d71178b4fb7151730525ca5b2aa668.tar.bz2
android_bootable_recovery-2538b952b8d71178b4fb7151730525ca5b2aa668.tar.lz
android_bootable_recovery-2538b952b8d71178b4fb7151730525ca5b2aa668.tar.xz
android_bootable_recovery-2538b952b8d71178b4fb7151730525ca5b2aa668.tar.zst
android_bootable_recovery-2538b952b8d71178b4fb7151730525ca5b2aa668.zip
Diffstat (limited to 'screen_ui.h')
-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);
};