summaryrefslogtreecommitdiffstats
path: root/screen_ui.h
diff options
context:
space:
mode:
authorTao Bao <tbao@google.com>2017-09-11 23:43:03 +0200
committerGerrit Code Review <noreply-gerritcodereview@google.com>2017-09-11 23:43:03 +0200
commitfc570c317ba52d9f55c2fd904ba7a63188e926fb (patch)
tree2d27057a3a3bba0a9560bcded0b4eae001154c2b /screen_ui.h
parentMerge "ui: Remove text_top_." (diff)
parentui: Move locale and friends into ScreenRecoveryUI class. (diff)
downloadandroid_bootable_recovery-fc570c317ba52d9f55c2fd904ba7a63188e926fb.tar
android_bootable_recovery-fc570c317ba52d9f55c2fd904ba7a63188e926fb.tar.gz
android_bootable_recovery-fc570c317ba52d9f55c2fd904ba7a63188e926fb.tar.bz2
android_bootable_recovery-fc570c317ba52d9f55c2fd904ba7a63188e926fb.tar.lz
android_bootable_recovery-fc570c317ba52d9f55c2fd904ba7a63188e926fb.tar.xz
android_bootable_recovery-fc570c317ba52d9f55c2fd904ba7a63188e926fb.tar.zst
android_bootable_recovery-fc570c317ba52d9f55c2fd904ba7a63188e926fb.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