summaryrefslogtreecommitdiffstats
path: root/vr_ui.h
diff options
context:
space:
mode:
authorLuke Song <songwalker@google.com>2017-09-19 19:51:35 +0200
committerTao Bao <tbao@google.com>2017-10-05 21:02:13 +0200
commit92eda4db6cf6aae9fb9954c2555742ad7d1cd96a (patch)
treeff3dae97202620c6a9a37f891b580ecf3fd6be7e /vr_ui.h
parentMerge "graphics: add rotation logic" (diff)
downloadandroid_bootable_recovery-92eda4db6cf6aae9fb9954c2555742ad7d1cd96a.tar
android_bootable_recovery-92eda4db6cf6aae9fb9954c2555742ad7d1cd96a.tar.gz
android_bootable_recovery-92eda4db6cf6aae9fb9954c2555742ad7d1cd96a.tar.bz2
android_bootable_recovery-92eda4db6cf6aae9fb9954c2555742ad7d1cd96a.tar.lz
android_bootable_recovery-92eda4db6cf6aae9fb9954c2555742ad7d1cd96a.tar.xz
android_bootable_recovery-92eda4db6cf6aae9fb9954c2555742ad7d1cd96a.tar.zst
android_bootable_recovery-92eda4db6cf6aae9fb9954c2555742ad7d1cd96a.zip
Diffstat (limited to '')
-rw-r--r--vr_ui.h8
1 files changed, 7 insertions, 1 deletions
diff --git a/vr_ui.h b/vr_ui.h
index d996c145f..eeb458912 100644
--- a/vr_ui.h
+++ b/vr_ui.h
@@ -28,8 +28,14 @@ class VrRecoveryUI : public ScreenRecoveryUI {
// Can vary per device depending on screen size and lens distortion.
const int kStereoOffset;
- bool InitTextParams() override;
+ int ScreenWidth() const override;
+ int ScreenHeight() const override;
+ void DrawSurface(GRSurface* surface, int sx, int sy, int w, int h, int dx, int dy) const override;
+ int DrawHorizontalRule(int y) const override;
+ void DrawHighlightBar(int x, int y, int width, int height) const override;
+ void DrawFill(int x, int y, int w, int h) const override;
+ void DrawTextIcon(int x, int y, GRSurface* surface) const override;
int DrawTextLine(int x, int y, const char* line, bool bold) const override;
};