summaryrefslogtreecommitdiffstats
path: root/vr_ui.h
diff options
context:
space:
mode:
authorTao Bao <tbao@google.com>2018-05-02 23:57:21 +0200
committerTao Bao <tbao@google.com>2018-05-03 00:32:48 +0200
commit93e46ad42658fd61104d0c3998ec5c7da2042179 (patch)
tree71f8596358d2b86e4406f21c8dbe58b90cad96fb /vr_ui.h
parentMerge "screen_ui: Drop the dependency on common.h." (diff)
downloadandroid_bootable_recovery-93e46ad42658fd61104d0c3998ec5c7da2042179.tar
android_bootable_recovery-93e46ad42658fd61104d0c3998ec5c7da2042179.tar.gz
android_bootable_recovery-93e46ad42658fd61104d0c3998ec5c7da2042179.tar.bz2
android_bootable_recovery-93e46ad42658fd61104d0c3998ec5c7da2042179.tar.lz
android_bootable_recovery-93e46ad42658fd61104d0c3998ec5c7da2042179.tar.xz
android_bootable_recovery-93e46ad42658fd61104d0c3998ec5c7da2042179.tar.zst
android_bootable_recovery-93e46ad42658fd61104d0c3998ec5c7da2042179.zip
Diffstat (limited to 'vr_ui.h')
-rw-r--r--vr_ui.h4
1 files changed, 3 insertions, 1 deletions
diff --git a/vr_ui.h b/vr_ui.h
index eeb458912..08384ce9f 100644
--- a/vr_ui.h
+++ b/vr_ui.h
@@ -17,6 +17,8 @@
#ifndef RECOVERY_VR_UI_H
#define RECOVERY_VR_UI_H
+#include <string>
+
#include "screen_ui.h"
class VrRecoveryUI : public ScreenRecoveryUI {
@@ -36,7 +38,7 @@ class VrRecoveryUI : public ScreenRecoveryUI {
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;
+ int DrawTextLine(int x, int y, const std::string& line, bool bold) const override;
};
#endif // RECOVERY_VR_UI_H