From 41c50b372e7819f447d98ed2737aefc72d5b864d Mon Sep 17 00:00:00 2001 From: Nebuleon Fumika Date: Mon, 20 May 2013 00:46:43 -0400 Subject: CATSFC/system/gui/uicolors.txt: Theme support for active and inactive item text colors. --- source/nds/draw.h | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) (limited to 'source/nds/draw.h') diff --git a/source/nds/draw.h b/source/nds/draw.h index b81328a..904798a 100644 --- a/source/nds/draw.h +++ b/source/nds/draw.h @@ -68,8 +68,6 @@ #define COLOR_BG COLOR16(2, 4, 10) #define COLOR_BG32 COLOR32(2*8, 4*8, 10*8) #define COLOR_ROM_INFO COLOR16(22, 18, 26) -#define COLOR_ACTIVE_ITEM COLOR16(31, 31, 31) -#define COLOR_INACTIVE_ITEM COLOR16(11, 7, 19) #define COLOR_HELP_TEXT COLOR16(16, 20, 24) #define COLOR_DIALOG COLOR16(31, 31, 31) #define COLOR_DIALOG_SHADOW COLOR16( 0, 2, 8) @@ -89,6 +87,9 @@ extern "C" { #endif +extern u16 COLOR_INACTIVE_ITEM; +extern u16 COLOR_ACTIVE_ITEM; + struct background{ char bgname[128]; char bgbuffer[256*192*2]; @@ -180,6 +181,7 @@ extern void msg_screen_clear(void); extern void msg_set_text_color(u32 color); extern int icon_init(u32 language_id); +extern int color_init(void); extern int gui_change_icon(u32 language_id); extern int show_background(void *screen, char *bgname); extern void show_icon(void* screen, struct gui_iconlist *icon, u32 x, u32 y); -- cgit v1.2.3