aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorPrashant Malani2016-03-08 17:23:51 -0600
committerPrashant Malani2016-03-08 17:56:54 -0600
commit1c7b2230d8aac9f064f68c48b6aa26aca000cc9d (patch)
tree9f7e07128f339f3a8fbed3cb4c49ce499be60c99 /screen_ui.h
parent7d9fd96dc99a6008979811e36bb06f3afad18508 (diff)
downloadplatform-bootable-recovery-1c7b2230d8aac9f064f68c48b6aa26aca000cc9d.tar.gz
platform-bootable-recovery-1c7b2230d8aac9f064f68c48b6aa26aca000cc9d.tar.xz
platform-bootable-recovery-1c7b2230d8aac9f064f68c48b6aa26aca000cc9d.zip
recovery: More refactoring of WearUI
This patch performs the following modifications: - Remove setBackground function, and currentIcon member variable. - Remove common Progress*, Redraw and EndMenu functions. Bug: 27407422 Change-Id: Ic3c0e16b67941484c3bc1d04c9b61288e8896808 Signed-off-by: Prashant Malani <pmalani@google.com>
Diffstat (limited to 'screen_ui.h')
-rw-r--r--screen_ui.h3
1 files changed, 2 insertions, 1 deletions
diff --git a/screen_ui.h b/screen_ui.h
index 08a5f44a..386deac2 100644
--- a/screen_ui.h
+++ b/screen_ui.h
@@ -68,7 +68,6 @@ class ScreenRecoveryUI : public RecoveryUI {
68 void SetColor(UIElement e); 68 void SetColor(UIElement e);
69 69
70 private: 70 private:
71 Icon currentIcon;
72 int installingFrame; 71 int installingFrame;
73 const char* locale; 72 const char* locale;
74 bool rtl_locale; 73 bool rtl_locale;
@@ -139,6 +138,8 @@ class ScreenRecoveryUI : public RecoveryUI {
139 void LoadBitmap(const char* filename, GRSurface** surface); 138 void LoadBitmap(const char* filename, GRSurface** surface);
140 void LoadBitmapArray(const char* filename, int* frames, int* fps, GRSurface*** surface); 139 void LoadBitmapArray(const char* filename, int* frames, int* fps, GRSurface*** surface);
141 void LoadLocalizedBitmap(const char* filename, GRSurface** surface); 140 void LoadLocalizedBitmap(const char* filename, GRSurface** surface);
141 protected:
142 Icon currentIcon;
142}; 143};
143 144
144#endif // RECOVERY_UI_H 145#endif // RECOVERY_UI_H