summaryrefslogtreecommitdiffstats
path: root/screen_ui.h
diff options
context:
space:
mode:
authorTao Bao <tbao@google.com>2017-09-11 23:56:40 +0200
committerandroid-build-merger <android-build-merger@google.com>2017-09-11 23:56:40 +0200
commit166188c2c644035195425a87892aac164f8c9bfe (patch)
treefc60cc302ea1176a5f987b8a9fdd251f54d69707 /screen_ui.h
parentMerge "ui: Remove text_top_." (diff)
parentMerge "ui: Move locale and friends into ScreenRecoveryUI class." (diff)
downloadandroid_bootable_recovery-166188c2c644035195425a87892aac164f8c9bfe.tar
android_bootable_recovery-166188c2c644035195425a87892aac164f8c9bfe.tar.gz
android_bootable_recovery-166188c2c644035195425a87892aac164f8c9bfe.tar.bz2
android_bootable_recovery-166188c2c644035195425a87892aac164f8c9bfe.tar.lz
android_bootable_recovery-166188c2c644035195425a87892aac164f8c9bfe.tar.xz
android_bootable_recovery-166188c2c644035195425a87892aac164f8c9bfe.tar.zst
android_bootable_recovery-166188c2c644035195425a87892aac164f8c9bfe.zip
Diffstat (limited to 'screen_ui.h')
-rw-r--r--screen_ui.h7
1 files changed, 7 insertions, 0 deletions
diff --git a/screen_ui.h b/screen_ui.h
index 0d7b9e86e..eaac2a6e8 100644
--- a/screen_ui.h
+++ b/screen_ui.h
@@ -191,7 +191,14 @@ class ScreenRecoveryUI : public RecoveryUI {
int char_width_;
int char_height_;
+ // The locale that's used to show the rendered texts.
+ std::string locale_;
+ bool rtl_locale_;
+
pthread_mutex_t updateMutex;
+
+ private:
+ void SetLocale(const std::string&);
};
#endif // RECOVERY_UI_H