diff options
author | Tao Bao <tbao@google.com> | 2015-12-18 23:30:28 +0100 |
---|---|---|
committer | android-build-merger <android-build-merger@google.com> | 2015-12-18 23:30:28 +0100 |
commit | ef911716b04a773bcba1e693638cfd9cbb9e4ddc (patch) | |
tree | c311d658de7ac03080583b24e9157cc6f502f1b4 /screen_ui.h | |
parent | Merge "updater: Use O_SYNC and fsync() for package_extract_file()." (diff) | |
parent | Merge "res: Embed FPS into icon_installing.png." (diff) | |
download | android_bootable_recovery-ef911716b04a773bcba1e693638cfd9cbb9e4ddc.tar android_bootable_recovery-ef911716b04a773bcba1e693638cfd9cbb9e4ddc.tar.gz android_bootable_recovery-ef911716b04a773bcba1e693638cfd9cbb9e4ddc.tar.bz2 android_bootable_recovery-ef911716b04a773bcba1e693638cfd9cbb9e4ddc.tar.lz android_bootable_recovery-ef911716b04a773bcba1e693638cfd9cbb9e4ddc.tar.xz android_bootable_recovery-ef911716b04a773bcba1e693638cfd9cbb9e4ddc.tar.zst android_bootable_recovery-ef911716b04a773bcba1e693638cfd9cbb9e4ddc.zip |
Diffstat (limited to '')
-rw-r--r-- | screen_ui.h | 4 |
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); }; |