summaryrefslogtreecommitdiffstatshomepage
path: root/src/emu/ui.h
diff options
context:
space:
mode:
author Aaron Giles <aaron@aarongiles.com>2009-10-03 22:15:40 +0000
committer Aaron Giles <aaron@aarongiles.com>2009-10-03 22:15:40 +0000
commit477a71e7d2542576381e08a1336269e7740bb45d (patch)
tree42a6db186eccaf236f1fbe63ee14a90b6c9b201d /src/emu/ui.h
parentfed811405adc3bdf9214d762c3afdb406ee793a1 (diff)
Centralized color definitions and made some colors more specific.
[Mamesick]
Diffstat (limited to 'src/emu/ui.h')
-rw-r--r--src/emu/ui.h24
1 files changed, 20 insertions, 4 deletions
diff --git a/src/emu/ui.h b/src/emu/ui.h
index e2e7fff38de..9accd38fd82 100644
--- a/src/emu/ui.h
+++ b/src/emu/ui.h
@@ -38,9 +38,25 @@
/* handy colors */
#define ARGB_WHITE MAKE_ARGB(0xff,0xff,0xff,0xff)
#define ARGB_BLACK MAKE_ARGB(0xff,0x00,0x00,0x00)
-#define UI_FILLCOLOR MAKE_ARGB(0xe0,0x10,0x10,0x30)
-#define UI_YELLOWCOLOR MAKE_ARGB(0xe0,0x60,0x60,0x10)
-#define UI_REDCOLOR MAKE_ARGB(0xf0,0x60,0x10,0x10)
+#define UI_BORDER_COLOR MAKE_ARGB(0xff,0xff,0xff,0xff)
+#define UI_BACKGROUND_COLOR MAKE_ARGB(0xe0,0x10,0x10,0x30)
+#define UI_GFXVIEWER_BG_COLOR MAKE_ARGB(0xe0,0x10,0x10,0x30)
+#define UI_GREEN_COLOR MAKE_ARGB(0xe0,0x10,0x60,0x10)
+#define UI_YELLOW_COLOR MAKE_ARGB(0xe0,0x60,0x60,0x10)
+#define UI_RED_COLOR MAKE_ARGB(0xf0,0x60,0x10,0x10)
+#define UI_UNAVAILABLE_COLOR MAKE_ARGB(0xff,0x40,0x40,0x40)
+#define UI_TEXT_COLOR MAKE_ARGB(0xff,0xff,0xff,0xff)
+#define UI_TEXT_BG_COLOR MAKE_ARGB(0xe0,0x00,0x00,0x00)
+#define UI_SUBITEM_COLOR MAKE_ARGB(0xff,0xff,0xff,0xff)
+#define UI_CLONE_COLOR MAKE_ARGB(0xff,0x80,0x80,0x80)
+#define UI_SELECTED_COLOR MAKE_ARGB(0xff,0xff,0xff,0x00)
+#define UI_SELECTED_BG_COLOR MAKE_ARGB(0xe0,0x80,0x80,0x00)
+#define UI_MOUSEOVER_COLOR MAKE_ARGB(0xff,0xff,0xff,0x80)
+#define UI_MOUSEOVER_BG_COLOR MAKE_ARGB(0x70,0x40,0x40,0x00)
+#define UI_MOUSEDOWN_COLOR MAKE_ARGB(0xff,0xff,0xff,0x80)
+#define UI_MOUSEDOWN_BG_COLOR MAKE_ARGB(0xb0,0x60,0x60,0x00)
+#define UI_DIPSW_COLOR MAKE_ARGB(0xff,0xff,0xff,0x00)
+#define UI_SLIDER_COLOR MAKE_ARGB(0xff,0xff,0xff,0xff)
/* cancel return value for a UI handler */
#define UI_HANDLER_CANCEL ((UINT32)~0)
@@ -98,7 +114,7 @@ struct _slider_state
MACROS
***************************************************************************/
-#define ui_draw_message_window(text) ui_draw_text_box(text, JUSTIFY_LEFT, 0.5f, 0.5f, UI_FILLCOLOR)
+#define ui_draw_message_window(text) ui_draw_text_box(text, JUSTIFY_LEFT, 0.5f, 0.5f, UI_BACKGROUND_COLOR)