summaryrefslogtreecommitdiffstats
path: root/screen_ui.cpp
diff options
context:
space:
mode:
authorandroid-build-team Robot <android-build-team-robot@google.com>2018-10-25 05:01:42 +0200
committerandroid-build-team Robot <android-build-team-robot@google.com>2018-10-25 05:01:42 +0200
commit94c230d84f28ac8742179afc8608cab3b0c7f704 (patch)
treec61ef3a9fd062733e2f24b27146ba2a474798c91 /screen_ui.cpp
parentSnap for 5087535 from a23b567dcb7e35739edae72a6e549d794a207596 to qt-release (diff)
parent[automerger skipped] Merge pie-platform-release to aosp-master - DO NOT MERGE am: 0db98fa501 -s ours am: 5168a610d2 -s ours (diff)
downloadandroid_bootable_recovery-94c230d84f28ac8742179afc8608cab3b0c7f704.tar
android_bootable_recovery-94c230d84f28ac8742179afc8608cab3b0c7f704.tar.gz
android_bootable_recovery-94c230d84f28ac8742179afc8608cab3b0c7f704.tar.bz2
android_bootable_recovery-94c230d84f28ac8742179afc8608cab3b0c7f704.tar.lz
android_bootable_recovery-94c230d84f28ac8742179afc8608cab3b0c7f704.tar.xz
android_bootable_recovery-94c230d84f28ac8742179afc8608cab3b0c7f704.tar.zst
android_bootable_recovery-94c230d84f28ac8742179afc8608cab3b0c7f704.zip
Diffstat (limited to 'screen_ui.cpp')
-rw-r--r--screen_ui.cpp4
1 files changed, 2 insertions, 2 deletions
diff --git a/screen_ui.cpp b/screen_ui.cpp
index c538815b5..2db27d6a7 100644
--- a/screen_ui.cpp
+++ b/screen_ui.cpp
@@ -600,7 +600,7 @@ int ScreenRecoveryUI::ScreenHeight() const {
return gr_fb_height();
}
-void ScreenRecoveryUI::DrawSurface(GRSurface* surface, int sx, int sy, int w, int h, int dx,
+void ScreenRecoveryUI::DrawSurface(const GRSurface* surface, int sx, int sy, int w, int h, int dx,
int dy) const {
gr_blit(surface, sx, sy, w, h, dx, dy);
}
@@ -618,7 +618,7 @@ void ScreenRecoveryUI::DrawFill(int x, int y, int w, int h) const {
gr_fill(x, y, w, h);
}
-void ScreenRecoveryUI::DrawTextIcon(int x, int y, GRSurface* surface) const {
+void ScreenRecoveryUI::DrawTextIcon(int x, int y, const GRSurface* surface) const {
gr_texticon(x, y, surface);
}