summaryrefslogtreecommitdiffstats
path: root/screen_ui.h
diff options
context:
space:
mode:
authorMikhail Lappo <miklelappo@gmail.com>2017-03-23 21:44:26 +0100
committerMikhail Lappo <miklelappo@gmail.com>2017-03-23 21:52:30 +0100
commitb49767c0bacb714e14f988423e14832689c6faf2 (patch)
treed9263ecace61d37381854e4dcc5d41cc514173b2 /screen_ui.h
parentRemoved C-style casts (diff)
downloadandroid_bootable_recovery-b49767c0bacb714e14f988423e14832689c6faf2.tar
android_bootable_recovery-b49767c0bacb714e14f988423e14832689c6faf2.tar.gz
android_bootable_recovery-b49767c0bacb714e14f988423e14832689c6faf2.tar.bz2
android_bootable_recovery-b49767c0bacb714e14f988423e14832689c6faf2.tar.lz
android_bootable_recovery-b49767c0bacb714e14f988423e14832689c6faf2.tar.xz
android_bootable_recovery-b49767c0bacb714e14f988423e14832689c6faf2.tar.zst
android_bootable_recovery-b49767c0bacb714e14f988423e14832689c6faf2.zip
Diffstat (limited to '')
-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