summaryrefslogtreecommitdiffstats
path: root/vr_ui.h
diff options
context:
space:
mode:
authorLuke Song <songwalker@google.com>2017-06-24 03:19:28 +0200
committerandroid-build-merger <android-build-merger@google.com>2017-06-24 03:19:28 +0200
commit674851dc86bac5a9c3b991ed8847c62f11ab5c4e (patch)
tree3388cd81f4ed24b2ea2d6908c5d853e1f773ce92 /vr_ui.h
parentMerge changes Icb6f7466,Ibf6238c9 (diff)
parentMerge "Restructure vr_ui" (diff)
downloadandroid_bootable_recovery-674851dc86bac5a9c3b991ed8847c62f11ab5c4e.tar
android_bootable_recovery-674851dc86bac5a9c3b991ed8847c62f11ab5c4e.tar.gz
android_bootable_recovery-674851dc86bac5a9c3b991ed8847c62f11ab5c4e.tar.bz2
android_bootable_recovery-674851dc86bac5a9c3b991ed8847c62f11ab5c4e.tar.lz
android_bootable_recovery-674851dc86bac5a9c3b991ed8847c62f11ab5c4e.tar.xz
android_bootable_recovery-674851dc86bac5a9c3b991ed8847c62f11ab5c4e.tar.zst
android_bootable_recovery-674851dc86bac5a9c3b991ed8847c62f11ab5c4e.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;
};