summaryrefslogtreecommitdiffstats
path: root/vr_ui.h
diff options
context:
space:
mode:
authorTao Bao <tbao@google.com>2017-10-06 16:41:45 +0200
committerandroid-build-merger <android-build-merger@google.com>2017-10-06 16:41:45 +0200
commitd630fc59a49091d4c5784590f88043a3e4a5f8c8 (patch)
treeea7ef804f7aa225ca7e8cad63527b945f83d2f1e /vr_ui.h
parentMerge "graphics: add rotation logic" am: 9baa19012a am: 284df0abcd am: ab19506094 (diff)
parentMerge "vr_ui: drawing changes" am: 9a874a4e5f am: 3b3f2f5711 (diff)
downloadandroid_bootable_recovery-d630fc59a49091d4c5784590f88043a3e4a5f8c8.tar
android_bootable_recovery-d630fc59a49091d4c5784590f88043a3e4a5f8c8.tar.gz
android_bootable_recovery-d630fc59a49091d4c5784590f88043a3e4a5f8c8.tar.bz2
android_bootable_recovery-d630fc59a49091d4c5784590f88043a3e4a5f8c8.tar.lz
android_bootable_recovery-d630fc59a49091d4c5784590f88043a3e4a5f8c8.tar.xz
android_bootable_recovery-d630fc59a49091d4c5784590f88043a3e4a5f8c8.tar.zst
android_bootable_recovery-d630fc59a49091d4c5784590f88043a3e4a5f8c8.zip
Diffstat (limited to 'vr_ui.h')
-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;
};