summaryrefslogtreecommitdiff
path: root/scripts/newbitmaps/images/make_default_yaml
diff options
context:
space:
mode:
authorHung-Te Lin <hungte@chromium.org>2012-08-15 12:25:48 +0800
committerGerrit <chrome-bot@google.com>2012-08-15 18:36:35 -0700
commit6cda3966ec5180acad3f30d14000d3ee1ae46c26 (patch)
tree1b0df8d61b6d2148661d432bb8f18a5236c8fb75 /scripts/newbitmaps/images/make_default_yaml
parent29e8807ea045e119e3adeaec40c5f8421901b6fb (diff)
downloadvboot-6cda3966ec5180acad3f30d14000d3ee1ae46c26.tar.gz
newbitmaps: Refine text layout & font settings.
BRANCH=none BUG=chrome-os-partner:11078 TEST=make # x86 and arm bitmaps both works. Change-Id: I21382c4f4a829703d9249929579f5007a7db1a9e Reviewed-on: https://gerrit.chromium.org/gerrit/30369 Tested-by: Hung-Te Lin <hungte@chromium.org> Reviewed-by: Bill Richardson <wfrichar@chromium.org> Commit-Ready: Hung-Te Lin <hungte@chromium.org>
Diffstat (limited to 'scripts/newbitmaps/images/make_default_yaml')
-rwxr-xr-xscripts/newbitmaps/images/make_default_yaml31
1 files changed, 15 insertions, 16 deletions
diff --git a/scripts/newbitmaps/images/make_default_yaml b/scripts/newbitmaps/images/make_default_yaml
index 38260167..10b51ee8 100755
--- a/scripts/newbitmaps/images/make_default_yaml
+++ b/scripts/newbitmaps/images/make_default_yaml
@@ -341,6 +341,7 @@ EOF1
eval "${lc}_help_right_text=${localedir}/$lc/for_help_right.bmp"
eval "${lc}_todev_text=${localedir}/$lc/todev.bmp"
eval "${lc}_tonorm_text=${localedir}/$lc/tonorm.bmp"
+ eval "${lc}_verif_off_text=${localedir}/$lc/verif_off.bmp"
eval "${lc}_tonorm_confirm_text=${localedir}/$lc/tonorm_confirmation.bmp"
eval "${lc}_back_help_text=${localedir}/$lc/back_help.bmp"
eval "${lc}_update_text=${localedir}/$lc/update.bmp"
@@ -356,7 +357,7 @@ EOF1
${lc}_help_right_text: $(eval echo \$${lc}_help_right_text)
${lc}_todev_text: $(eval echo \$${lc}_todev_text)
${lc}_tonorm_text: $(eval echo \$${lc}_tonorm_text)
- ${lc}_back_help_text: $(eval echo \$${lc}_back_help_text)
+ ${lc}_verif_off_text: $(eval echo \$${lc}_verif_off_text)
${lc}_update_text: $(eval echo \$${lc}_update_text)
${lc}_tonorm_confirm_text: $(eval echo \$${lc}_tonorm_confirm_text)
@@ -420,23 +421,21 @@ EOF2
reset_pos
add_right_below "white_bg"
add_header ${lc}
- set_centered_y_percent "white_bg" 25
- add_centered_below "${lc}_todev_text"
- set_centered_y_percent "white_bg" 50
- add_centered "${lc}_back_help_text"
- add_footer_with_url ${lc}
+ set_centered_y_percent "white_bg" 45
+ add_centered "${lc}_todev_text"
+ add_footer_without_url ${lc}
# ToNormal Screen
echo " ${lc}_tonorm:" >> "$yaml_file"
reset_pos
add_right_below "white_bg"
add_header ${lc}
- set_centered_y_percent "white_bg" 30
+ set_centered_y_percent "white_bg" 40
add_centered "asset_VerificationOff"
- add_centered_below "${lc}_tonorm_text"
- set_centered_y_percent "white_bg" 70
- add_centered "${lc}_back_help_text"
- add_footer_with_url ${lc}
+ set_centered_y_percent "white_bg" 45
+ insert_centered_below "${lc}_verif_off_text"
+ insert_centered_below "${lc}_tonorm_text"
+ add_footer_without_url ${lc}
# Update (WAIT) Screen
echo " ${lc}_update:" >> "$yaml_file"
@@ -445,18 +444,18 @@ EOF2
add_header ${lc}
set_centered_y_percent "white_bg" 50
add_centered "${lc}_update_text"
- add_footer_with_url ${lc}
+ add_footer_without_url ${lc}
# ToNormalConfirm Screen
echo " ${lc}_tonorm_confirm:" >> "$yaml_file"
reset_pos
add_right_below "white_bg"
add_header ${lc}
- set_centered_y_percent "white_bg" 30
- add_centered "asset_VerificationOn"
set_centered_y_percent "white_bg" 40
- add_centered_below "${lc}_tonorm_confirm_text"
- add_footer_with_url ${lc}
+ add_centered "asset_VerificationOn"
+ set_centered_y_percent "white_bg" 50
+ insert_centered_below "${lc}_tonorm_confirm_text"
+ add_footer_without_url ${lc}
done