aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorDoug Zongker2014-04-04 15:48:33 -0500
committerDoug Zongker2014-04-04 15:48:33 -0500
commit9551cf912180665a85f515c16d6412bb8ea2bf98 (patch)
tree2a09c6db6a26445ef7992d96ee396965ee403308 /screen_ui.h
parent8d9d3d5cbe240d09db10d08956d152dce934e892 (diff)
downloadplatform-bootable-recovery-9551cf912180665a85f515c16d6412bb8ea2bf98.tar.gz
platform-bootable-recovery-9551cf912180665a85f515c16d6412bb8ea2bf98.tar.xz
platform-bootable-recovery-9551cf912180665a85f515c16d6412bb8ea2bf98.zip
make density-specific recovery assets
Provide different recovery UI resources for different display densities. Right now only the text images and the progress bars are rescaled; the main icon will get scaled when it's updated for QP. Lightly quantum-ify the rest of the recovery interface. (Light background, progress bars, etc.) Change-Id: Ia639c4ce8534b01bc843524efbc4b040c1cf38b3
Diffstat (limited to 'screen_ui.h')
-rw-r--r--screen_ui.h3
1 files changed, 3 insertions, 0 deletions
diff --git a/screen_ui.h b/screen_ui.h
index 92e4795b..2e01acda 100644
--- a/screen_ui.h
+++ b/screen_ui.h
@@ -87,6 +87,9 @@ class ScreenRecoveryUI : public RecoveryUI {
87 static const int kMaxCols = 96; 87 static const int kMaxCols = 96;
88 static const int kMaxRows = 96; 88 static const int kMaxRows = 96;
89 89
90 static const int kTextXOffset = 8;
91 static const int kTextYOffset = 4;
92
90 // Log text overlay, displayed when a magic key is pressed 93 // Log text overlay, displayed when a magic key is pressed
91 char text[kMaxRows][kMaxCols]; 94 char text[kMaxRows][kMaxCols];
92 int text_cols, text_rows; 95 int text_cols, text_rows;