aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorMichael Runge <mrunge@google.com>2013-10-02 20:28:01 -0700
committerAndroid Git Automerger <android-git-automerger@android.com>2013-10-02 20:28:01 -0700
commitf0af761369c5352f8ef9cd3c7a0db542924ef215 (patch)
tree506e43e105a8ab5190d1458c3d8a48592b12ed17
parent58207b84d31c6c281aebf9384024203eadea5316 (diff)
parentefef45ede6f7588bd3f584d7746ca9822ade58ac (diff)
downloadbootable_recovery-f0af761369c5352f8ef9cd3c7a0db542924ef215.zip
bootable_recovery-f0af761369c5352f8ef9cd3c7a0db542924ef215.tar.gz
bootable_recovery-f0af761369c5352f8ef9cd3c7a0db542924ef215.tar.bz2
am efef45ed: am a2a1ce82: Allow child classes to override the overlay location for the update image.
* commit 'efef45ede6f7588bd3f584d7746ca9822ade58ac': Allow child classes to override the overlay location for the update image.
-rw-r--r--screen_ui.h4
1 files changed, 3 insertions, 1 deletions
diff --git a/screen_ui.h b/screen_ui.h
index 0bd220f..fc35d95 100644
--- a/screen_ui.h
+++ b/screen_ui.h
@@ -58,6 +58,9 @@ class ScreenRecoveryUI : public RecoveryUI {
enum UIElement { HEADER, MENU, MENU_SEL_BG, MENU_SEL_FG, LOG, TEXT_FILL };
virtual void SetColor(UIElement e);
+ protected:
+ int install_overlay_offset_x, install_overlay_offset_y;
+
private:
Icon currentIcon;
int installingFrame;
@@ -99,7 +102,6 @@ class ScreenRecoveryUI : public RecoveryUI {
int animation_fps;
int indeterminate_frames;
int installing_frames;
- int install_overlay_offset_x, install_overlay_offset_y;
int overlay_offset_x, overlay_offset_y;
void draw_install_overlay_locked(int frame);