Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit a2a1ce82 authored by Michael Runge's avatar Michael Runge
Browse files

Allow child classes to override the overlay location for the

update image.

b/10952479

Change-Id: I59bb834f271f702fb529054dab7926b816fa35cc
parent cc2958fd
Loading
Loading
Loading
Loading
+3 −1
Original line number Diff line number Diff line
@@ -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);