diff options
author | Tao Bao <tbao@google.com> | 2015-12-18 23:32:36 +0100 |
---|---|---|
committer | android-build-merger <android-build-merger@google.com> | 2015-12-18 23:32:36 +0100 |
commit | 2538b952b8d71178b4fb7151730525ca5b2aa668 (patch) | |
tree | 1677a4e8ff40de32760dc5b098752c6d82404f00 /screen_ui.h | |
parent | Merge "updater: Use O_SYNC and fsync() for package_extract_file()." am: 4e72d1a81e (diff) | |
parent | Merge "res: Embed FPS into icon_installing.png." (diff) | |
download | android_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.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); }; |