diff options
author | Nebuleon Fumika | 2013-05-20 00:46:43 -0400 |
---|---|---|
committer | Nebuleon Fumika | 2013-05-20 00:46:43 -0400 |
commit | 41c50b372e7819f447d98ed2737aefc72d5b864d (patch) | |
tree | fc48b6665c8fad469c96b61154ae0bfd536505e3 /source/nds/draw.h | |
parent | 22aa56d2ed0bb3640e3808577d63c082c6ae162c (diff) | |
download | snes9x2005-41c50b372e7819f447d98ed2737aefc72d5b864d.tar.gz snes9x2005-41c50b372e7819f447d98ed2737aefc72d5b864d.tar.bz2 snes9x2005-41c50b372e7819f447d98ed2737aefc72d5b864d.zip |
CATSFC/system/gui/uicolors.txt: Theme support for active and inactive item text colors.
Diffstat (limited to 'source/nds/draw.h')
-rw-r--r-- | source/nds/draw.h | 6 |
1 files changed, 4 insertions, 2 deletions
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); |