From e2359ee04954e2707d8ed7a1ecbf45e144663408 Mon Sep 17 00:00:00 2001 From: Nebuleon Fumika Date: Sun, 13 Jan 2013 20:22:41 -0500 Subject: Localise Yes(A) and No(B) into English, French and Simplified Chinese as [A] Confirm and [B] Cancel. CATSFC/system/gui/sbutto.bmp: Widen the button to accomodate this change. --- source/nds/draw.c | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) (limited to 'source/nds/draw.c') diff --git a/source/nds/draw.c b/source/nds/draw.c index b3c5698..d739dc9 100644 --- a/source/nds/draw.c +++ b/source/nds/draw.c @@ -113,7 +113,7 @@ struct gui_iconlist gui_icon_list[]= { /* 37 */ {"nbacko", 19, 13, NULL}, /* 38 */ {"chtfile", 16, 15, NULL}, /* 39 */ {"smsgfr", 193, 111, NULL}, - /* 40 */ {"sbutto", 61, 16, NULL} + /* 40 */ {"sbutto", 76, 16, NULL} }; @@ -800,16 +800,16 @@ u32 draw_yesno_dialog(enum SCREEN_ID screen, u32 sy, char *yes, char *no) i= SCREEN_WIDTH/2 - box_width - 2; // drawbox(screen_address, i, sy-1, i+box_width-1, sy+FONTS_HEIGHT, COLOR16(8, 8, 8)); // drawboxfill(screen_address, i+1, sy, i+box_width-2, sy+FONTS_HEIGHT-1, COLOR16(15, 15, 15)); - show_icon((unsigned short*)screen_addr, &ICON_BUTTON, 64, 128); + show_icon((unsigned short*)screen_addr, &ICON_BUTTON, 49, 128); // draw_string_vcenter(screen_address, i+1, sy+1, box_width, COLOR_WHITE, yes); - draw_string_vcenter((unsigned short*)screen_addr, 66, 130, 58, COLOR_WHITE, yes); + draw_string_vcenter((unsigned short*)screen_addr, 51, 130, 73, COLOR_WHITE, yes); i= SCREEN_WIDTH/2 + 3; // drawbox(screen_address, i, sy-1, i+box_width-1, sy+FONTS_HEIGHT, COLOR16(8, 8, 8)); // drawboxfill(screen_address, i+1, sy, i+box_width-2, sy+FONTS_HEIGHT-1, COLOR16(15, 15, 15)); show_icon((unsigned short*)screen_addr, &ICON_BUTTON, 136, 128); // draw_string_vcenter(screen_address, i+1, sy+1, box_width, COLOR_WHITE, no); - draw_string_vcenter((unsigned short*)screen_addr, 138, 130, 58, COLOR_WHITE, no); + draw_string_vcenter((unsigned short*)screen_addr, 138, 130, 73, COLOR_WHITE, no); ds2_flipScreen(screen, 2); -- cgit v1.2.3