There was apparently a lack of carebear.

Change-Id: Ie65bce617b99985ab937602e1e30a97340b0dd5b
This commit is contained in:
Koushik Dutta 2010-12-18 22:29:27 -08:00
parent 4995114d38
commit 5d80817f2b
5 changed files with 7 additions and 1 deletions

View File

@ -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 File

@ -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");

BIN
res/images/icon_clockwork.png Executable file

Binary file not shown.

After

Width:  |  Height:  |  Size: 23 KiB

View File

@ -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);
}

3
ui.c
View File

@ -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