aboutsummaryrefslogtreecommitdiffstats
path: root/screen_ui.h
diff options
context:
space:
mode:
authorMichael Runge <mrunge@google.com>2013-10-02 16:17:37 -0700
committerMichael Runge <mrunge@google.com>2013-10-02 16:31:07 -0700
commita2a1ce823b8c76451ee2b38155b347b0c2ced714 (patch)
treefb7a66dd1e6cea9e1d4262ba66d835b41e3b9f53 /screen_ui.h
parentcc2958fd7f32f79d1a034eee005e04afeb310a87 (diff)
downloadbootable_recovery-a2a1ce823b8c76451ee2b38155b347b0c2ced714.zip
bootable_recovery-a2a1ce823b8c76451ee2b38155b347b0c2ced714.tar.gz
bootable_recovery-a2a1ce823b8c76451ee2b38155b347b0c2ced714.tar.bz2
Allow child classes to override the overlay location for the
update image. b/10952479 Change-Id: I59bb834f271f702fb529054dab7926b816fa35cc
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 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);