aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorTao Bao2017-06-28 16:52:17 -0500
committerTao Bao2017-07-01 19:41:24 -0500
commitea78d86b44661c69fcb740b9d40b47af821dbd57 (patch)
tree42bc24468b6d9ba025cf10d0ba1d855295cc8e3d /vr_ui.h
parent344778c4efddb7701fa8234b51429d27a030356c (diff)
downloadplatform-bootable-recovery-ea78d86b44661c69fcb740b9d40b47af821dbd57.tar.gz
platform-bootable-recovery-ea78d86b44661c69fcb740b9d40b47af821dbd57.tar.xz
platform-bootable-recovery-ea78d86b44661c69fcb740b9d40b47af821dbd57.zip
Update ScreenRecoveryUI::Draw* function signatures.
Move away from taking int* for the Y-offset. Change it to int and return the offset instead. Test: Check the recovery menu and 'Wipe data' menu. Change-Id: Ib15e070a0d576a0f8f66f35605cb8479e7071f26
Diffstat (limited to 'vr_ui.h')
-rw-r--r--vr_ui.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/vr_ui.h b/vr_ui.h
index da216340..d996c145 100644
--- a/vr_ui.h
+++ b/vr_ui.h
@@ -30,7 +30,7 @@ class VrRecoveryUI : public ScreenRecoveryUI {
30 30
31 bool InitTextParams() override; 31 bool InitTextParams() override;
32 32
33 void DrawTextLine(int x, int* y, const char* line, bool bold) const override; 33 int DrawTextLine(int x, int y, const char* line, bool bold) const override;
34}; 34};
35 35
36#endif // RECOVERY_VR_UI_H 36#endif // RECOVERY_VR_UI_H