summaryrefslogtreecommitdiffstats
path: root/screen_ui.h
diff options
context:
space:
mode:
authorTao Bao <tbao@google.com>2017-03-24 21:37:08 +0100
committerandroid-build-merger <android-build-merger@google.com>2017-03-24 21:37:08 +0100
commit91d12f9ef15a69384eeb5905702b43d09eb6466f (patch)
tree2fcde7a023be5e8df5d6052a9b97a12db50bd35e /screen_ui.h
parentMerge "Removed C-style casts" am: 110155a604 am: 6a831e02b6 (diff)
parentMerge "Const modifiers" am: 4efd353d8f (diff)
downloadandroid_bootable_recovery-91d12f9ef15a69384eeb5905702b43d09eb6466f.tar
android_bootable_recovery-91d12f9ef15a69384eeb5905702b43d09eb6466f.tar.gz
android_bootable_recovery-91d12f9ef15a69384eeb5905702b43d09eb6466f.tar.bz2
android_bootable_recovery-91d12f9ef15a69384eeb5905702b43d09eb6466f.tar.lz
android_bootable_recovery-91d12f9ef15a69384eeb5905702b43d09eb6466f.tar.xz
android_bootable_recovery-91d12f9ef15a69384eeb5905702b43d09eb6466f.tar.zst
android_bootable_recovery-91d12f9ef15a69384eeb5905702b43d09eb6466f.zip
Diffstat (limited to 'screen_ui.h')
-rw-r--r--screen_ui.h6
1 files changed, 3 insertions, 3 deletions
diff --git a/screen_ui.h b/screen_ui.h
index b2dcf4aeb..a2322c36c 100644
--- a/screen_ui.h
+++ b/screen_ui.h
@@ -160,14 +160,14 @@ class ScreenRecoveryUI : public RecoveryUI {
void LoadBitmap(const char* filename, GRSurface** surface);
void LoadLocalizedBitmap(const char* filename, GRSurface** surface);
- int PixelsFromDp(int dp);
+ int PixelsFromDp(int dp) const;
virtual int GetAnimationBaseline();
virtual int GetProgressBaseline();
virtual int GetTextBaseline();
void DrawHorizontalRule(int* y);
- void DrawTextLine(int x, int* y, const char* line, bool bold);
- void DrawTextLines(int x, int* y, const char* const* lines);
+ void DrawTextLine(int x, int* y, const char* line, bool bold) const;
+ void DrawTextLines(int x, int* y, const char* const* lines) const;
};
#endif // RECOVERY_UI_H