From ea78d86b44661c69fcb740b9d40b47af821dbd57 Mon Sep 17 00:00:00 2001 From: Tao Bao Date: Wed, 28 Jun 2017 14:52:17 -0700 Subject: 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 --- vr_ui.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'vr_ui.h') diff --git a/vr_ui.h b/vr_ui.h index da2163402..d996c145f 100644 --- a/vr_ui.h +++ b/vr_ui.h @@ -30,7 +30,7 @@ class VrRecoveryUI : public ScreenRecoveryUI { bool InitTextParams() override; - void DrawTextLine(int x, int* y, const char* line, bool bold) const override; + int DrawTextLine(int x, int y, const char* line, bool bold) const override; }; #endif // RECOVERY_VR_UI_H -- cgit v1.2.3