Permalink
Browse files

There was apparently a lack of carebear.

Change-Id: Ie65bce617b99985ab937602e1e30a97340b0dd5b
  • Loading branch information...
1 parent 4995114 commit 5d80817f2b6e9648e579700bbc73826601dfc539 @koush koush committed Dec 19, 2010
Showing with 7 additions and 1 deletion.
  1. +1 −0 common.h
  2. +1 −0 recovery.c
  3. BIN res/images/icon_clockwork.png
  4. +3 −0 roots.c
  5. +2 −1 ui.c
View
@@ -56,6 +56,7 @@ enum {
BACKGROUND_ICON_NONE,
BACKGROUND_ICON_INSTALLING,
BACKGROUND_ICON_ERROR,
+ BACKGROUND_ICON_CLOCKWORK,
BACKGROUND_ICON_FIRMWARE_INSTALLING,
BACKGROUND_ICON_FIRMWARE_ERROR,
NUM_BACKGROUND_ICONS
View
@@ -910,6 +910,7 @@ main(int argc, char **argv) {
script_assert_enabled = 0;
is_user_initiated_recovery = 1;
ui_set_show_text(1);
+ ui_set_background(BACKGROUND_ICON_CLOCKWORK);
if (extendedcommand_file_exists()) {
LOGI("Running extendedcommand...\n");
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
View
@@ -269,6 +269,9 @@ int format_volume(const char* volume) {
return 0;
}
+#if 0
LOGE("format_volume: fs_type \"%s\" unsupported\n", v->fs_type);
return -1;
+#endif
+ return format_unknown_device(volume);
}
View
3 ui.c
@@ -62,6 +62,7 @@ static int ui_has_initialized = 0;
static const struct { gr_surface* surface; const char *name; } BITMAPS[] = {
{ &gBackgroundIcon[BACKGROUND_ICON_INSTALLING], "icon_installing" },
{ &gBackgroundIcon[BACKGROUND_ICON_ERROR], "icon_error" },
+ { &gBackgroundIcon[BACKGROUND_ICON_CLOCKWORK], "icon_clockwork" },
{ &gProgressBarIndeterminate[0], "indeterminate1" },
{ &gProgressBarIndeterminate[1], "indeterminate2" },
{ &gProgressBarIndeterminate[2], "indeterminate3" },
@@ -164,7 +165,7 @@ static void draw_text_line(int row, const char* t) {
}
}
-#define MENU_TEXT_COLOR 7, 133, 74, 255
+#define MENU_TEXT_COLOR 255, 160, 49, 255
#define NORMAL_TEXT_COLOR 200, 200, 200, 255
#define HEADER_TEXT_COLOR NORMAL_TEXT_COLOR

0 comments on commit 5d80817

Please sign in to comment.