aboutsummaryrefslogtreecommitdiffstats
path: root/screen_ui.h
diff options
context:
space:
mode:
authorElliott Hughes <enh@google.com>2015-04-15 10:58:56 -0700
committerElliott Hughes <enh@google.com>2015-04-15 10:58:56 -0700
commit0a5cb0c7cd995ae0330a7d54a8d0db5d892a48a9 (patch)
tree625c21a7688ed613dd22fc9fc9e6c68cec7c44bc /screen_ui.h
parent6e435abfeb7256b5ea82ca37166acf36e3f98085 (diff)
downloadbootable_recovery-0a5cb0c7cd995ae0330a7d54a8d0db5d892a48a9.zip
bootable_recovery-0a5cb0c7cd995ae0330a7d54a8d0db5d892a48a9.tar.gz
bootable_recovery-0a5cb0c7cd995ae0330a7d54a8d0db5d892a48a9.tar.bz2
Don't use typedefs that hide *s.
gr_surface was causing confusion for no good reason. Change-Id: If7120187f9a00dd16297877fc49352185a4d4ea6
Diffstat (limited to 'screen_ui.h')
-rw-r--r--screen_ui.h20
1 files changed, 10 insertions, 10 deletions
diff --git a/screen_ui.h b/screen_ui.h
index d473b8e..46165d9 100644
--- a/screen_ui.h
+++ b/screen_ui.h
@@ -73,13 +73,13 @@ class ScreenRecoveryUI : public RecoveryUI {
bool rtl_locale;
pthread_mutex_t updateMutex;
- gr_surface backgroundIcon[5];
- gr_surface backgroundText[5];
- gr_surface *installation;
- gr_surface progressBarEmpty;
- gr_surface progressBarFill;
- gr_surface stageMarkerEmpty;
- gr_surface stageMarkerFill;
+ GRSurface* backgroundIcon[5];
+ GRSurface* backgroundText[5];
+ GRSurface** installation;
+ GRSurface* progressBarEmpty;
+ GRSurface* progressBarFill;
+ GRSurface* stageMarkerEmpty;
+ GRSurface* stageMarkerFill;
ProgressType progressBarType;
@@ -127,9 +127,9 @@ class ScreenRecoveryUI : public RecoveryUI {
void DrawTextLine(int* y, const char* line, bool bold);
void DrawTextLines(int* y, const char* const* lines);
- void LoadBitmap(const char* filename, gr_surface* surface);
- void LoadBitmapArray(const char* filename, int* frames, gr_surface** surface);
- void LoadLocalizedBitmap(const char* filename, gr_surface* surface);
+ void LoadBitmap(const char* filename, GRSurface** surface);
+ void LoadBitmapArray(const char* filename, int* frames, GRSurface*** surface);
+ void LoadLocalizedBitmap(const char* filename, GRSurface** surface);
};
#endif // RECOVERY_UI_H