am a2a1ce82: Allow child classes to override the overlay location for the update image.
* commit 'a2a1ce823b8c76451ee2b38155b347b0c2ced714': Allow child classes to override the overlay location for the update image.
This commit is contained in:
+3
-1
@@ -58,6 +58,9 @@ class ScreenRecoveryUI : public RecoveryUI {
|
|||||||
enum UIElement { HEADER, MENU, MENU_SEL_BG, MENU_SEL_FG, LOG, TEXT_FILL };
|
enum UIElement { HEADER, MENU, MENU_SEL_BG, MENU_SEL_FG, LOG, TEXT_FILL };
|
||||||
virtual void SetColor(UIElement e);
|
virtual void SetColor(UIElement e);
|
||||||
|
|
||||||
|
protected:
|
||||||
|
int install_overlay_offset_x, install_overlay_offset_y;
|
||||||
|
|
||||||
private:
|
private:
|
||||||
Icon currentIcon;
|
Icon currentIcon;
|
||||||
int installingFrame;
|
int installingFrame;
|
||||||
@@ -99,7 +102,6 @@ class ScreenRecoveryUI : public RecoveryUI {
|
|||||||
int animation_fps;
|
int animation_fps;
|
||||||
int indeterminate_frames;
|
int indeterminate_frames;
|
||||||
int installing_frames;
|
int installing_frames;
|
||||||
int install_overlay_offset_x, install_overlay_offset_y;
|
|
||||||
int overlay_offset_x, overlay_offset_y;
|
int overlay_offset_x, overlay_offset_y;
|
||||||
|
|
||||||
void draw_install_overlay_locked(int frame);
|
void draw_install_overlay_locked(int frame);
|
||||||
|
|||||||
Reference in New Issue
Block a user