diff options
author | Tao Bao <tbao@google.com> | 2018-10-24 03:14:39 +0200 |
---|---|---|
committer | android-build-merger <android-build-merger@google.com> | 2018-10-24 03:14:39 +0200 |
commit | a9e8c76fef713696c0b08f44eb470fdff56628b8 (patch) | |
tree | c61ef3a9fd062733e2f24b27146ba2a474798c91 /vr_ui.h | |
parent | Merge "Add a function to construct the GRSurface in test" (diff) | |
parent | Merge "ui: Add constness to Draw- functions." (diff) | |
download | android_bootable_recovery-a9e8c76fef713696c0b08f44eb470fdff56628b8.tar android_bootable_recovery-a9e8c76fef713696c0b08f44eb470fdff56628b8.tar.gz android_bootable_recovery-a9e8c76fef713696c0b08f44eb470fdff56628b8.tar.bz2 android_bootable_recovery-a9e8c76fef713696c0b08f44eb470fdff56628b8.tar.lz android_bootable_recovery-a9e8c76fef713696c0b08f44eb470fdff56628b8.tar.xz android_bootable_recovery-a9e8c76fef713696c0b08f44eb470fdff56628b8.tar.zst android_bootable_recovery-a9e8c76fef713696c0b08f44eb470fdff56628b8.zip |
Diffstat (limited to 'vr_ui.h')
-rw-r--r-- | vr_ui.h | 5 |
1 files changed, 3 insertions, 2 deletions
@@ -33,11 +33,12 @@ class VrRecoveryUI : public ScreenRecoveryUI { 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; + void DrawSurface(const 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; + void DrawTextIcon(int x, int y, const GRSurface* surface) const override; int DrawTextLine(int x, int y, const std::string& line, bool bold) const override; }; |