summaryrefslogtreecommitdiffstats
path: root/vr_ui.h
diff options
context:
space:
mode:
authorLuke Song <songwalker@google.com>2017-06-23 23:33:46 +0200
committerLuke Song <songwalker@google.com>2017-07-07 01:49:27 +0200
commitc392888df752479ffaeee2fa9e624d71ce2a4618 (patch)
tree8067b3064960d84569f6c88e4f2b0b24a7bc5e51 /vr_ui.h
parentIntroduce VR recovery ui (diff)
downloadandroid_bootable_recovery-c392888df752479ffaeee2fa9e624d71ce2a4618.tar
android_bootable_recovery-c392888df752479ffaeee2fa9e624d71ce2a4618.tar.gz
android_bootable_recovery-c392888df752479ffaeee2fa9e624d71ce2a4618.tar.bz2
android_bootable_recovery-c392888df752479ffaeee2fa9e624d71ce2a4618.tar.lz
android_bootable_recovery-c392888df752479ffaeee2fa9e624d71ce2a4618.tar.xz
android_bootable_recovery-c392888df752479ffaeee2fa9e624d71ce2a4618.tar.zst
android_bootable_recovery-c392888df752479ffaeee2fa9e624d71ce2a4618.zip
Diffstat (limited to 'vr_ui.h')
-rw-r--r--vr_ui.h4
1 files changed, 1 insertions, 3 deletions
diff --git a/vr_ui.h b/vr_ui.h
index 85c570815..31ca4a61d 100644
--- a/vr_ui.h
+++ b/vr_ui.h
@@ -26,12 +26,10 @@ class VrRecoveryUI : public ScreenRecoveryUI {
protected:
// Pixel offsets to move drawing functions to visible range.
// Can vary per device depending on screen size and lens distortion.
- int x_offset, y_offset, stereo_offset;
+ const int kStereoOffset;
bool InitTextParams() override;
- void DrawHorizontalRule(int* y) override;
- void DrawHighlightBar(int x, int y, int width, int height) const override;
void DrawTextLine(int x, int* y, const char* line, bool bold) const override;
};