From 1c7b2230d8aac9f064f68c48b6aa26aca000cc9d Mon Sep 17 00:00:00 2001 From: Prashant Malani Date: Tue, 8 Mar 2016 15:23:51 -0800 Subject: 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 --- screen_ui.h | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) (limited to 'screen_ui.h') diff --git a/screen_ui.h b/screen_ui.h index 08a5f44a9..386deac2d 100644 --- a/screen_ui.h +++ b/screen_ui.h @@ -68,7 +68,6 @@ class ScreenRecoveryUI : public RecoveryUI { void SetColor(UIElement e); private: - Icon currentIcon; int installingFrame; const char* locale; bool rtl_locale; @@ -139,6 +138,8 @@ class ScreenRecoveryUI : public RecoveryUI { void LoadBitmap(const char* filename, GRSurface** surface); void LoadBitmapArray(const char* filename, int* frames, int* fps, GRSurface*** surface); void LoadLocalizedBitmap(const char* filename, GRSurface** surface); + protected: + Icon currentIcon; }; #endif // RECOVERY_UI_H -- cgit v1.2.3