summaryrefslogtreecommitdiffstats
path: root/minui/include
diff options
context:
space:
mode:
authorTianjie Xu <xunchang@google.com>2017-09-27 19:39:05 +0200
committerGerrit Code Review <noreply-gerritcodereview@google.com>2017-09-27 19:39:05 +0200
commit4c7608f3cacfcb9e585e8bc254fb01eb5af40978 (patch)
treeb245d108a23ee6d630fd30046e4eea84057f88f4 /minui/include
parentMerge "clang-format: Remove the override of PenaltyExcessCharacter." (diff)
parentAdd a new option in recovery menu to test the background texts (diff)
downloadandroid_bootable_recovery-4c7608f3cacfcb9e585e8bc254fb01eb5af40978.tar
android_bootable_recovery-4c7608f3cacfcb9e585e8bc254fb01eb5af40978.tar.gz
android_bootable_recovery-4c7608f3cacfcb9e585e8bc254fb01eb5af40978.tar.bz2
android_bootable_recovery-4c7608f3cacfcb9e585e8bc254fb01eb5af40978.tar.lz
android_bootable_recovery-4c7608f3cacfcb9e585e8bc254fb01eb5af40978.tar.xz
android_bootable_recovery-4c7608f3cacfcb9e585e8bc254fb01eb5af40978.tar.zst
android_bootable_recovery-4c7608f3cacfcb9e585e8bc254fb01eb5af40978.zip
Diffstat (limited to 'minui/include')
-rw-r--r--minui/include/minui/minui.h4
1 files changed, 4 insertions, 0 deletions
diff --git a/minui/include/minui/minui.h b/minui/include/minui/minui.h
index 017ddde75..27e603136 100644
--- a/minui/include/minui/minui.h
+++ b/minui/include/minui/minui.h
@@ -21,6 +21,7 @@
#include <functional>
#include <string>
+#include <vector>
//
// Graphics.
@@ -129,6 +130,9 @@ int res_create_alpha_surface(const char* name, GRSurface** pSurface);
int res_create_localized_alpha_surface(const char* name, const char* locale,
GRSurface** pSurface);
+// Return a list of locale strings embedded in |png_name|. Return a empty list in case of failure.
+std::vector<std::string> get_locales_in_png(const std::string& png_name);
+
// Free a surface allocated by any of the res_create_*_surface()
// functions.
void res_free_surface(GRSurface* surface);