diff options
Diffstat (limited to 'src/emu/ui/ui.h')
-rw-r--r-- | src/emu/ui/ui.h | 42 |
1 files changed, 21 insertions, 21 deletions
diff --git a/src/emu/ui/ui.h b/src/emu/ui/ui.h index 6d4e299a3bf..757d0deb437 100644 --- a/src/emu/ui/ui.h +++ b/src/emu/ui/ui.h @@ -34,27 +34,27 @@ #define UI_BOX_TB_BORDER (UI_TARGET_FONT_HEIGHT * 0.25f) /* handy colors */ -#define ARGB_WHITE MAKE_ARGB(0xff,0xff,0xff,0xff) -#define ARGB_BLACK MAKE_ARGB(0xff,0x00,0x00,0x00) -#define UI_BORDER_COLOR MAKE_ARGB(0xff,0xff,0xff,0xff) -#define UI_BACKGROUND_COLOR MAKE_ARGB(0xef,0x10,0x10,0x30) -#define UI_GFXVIEWER_BG_COLOR MAKE_ARGB(0xef,0x10,0x10,0x30) -#define UI_GREEN_COLOR MAKE_ARGB(0xef,0x10,0x60,0x10) -#define UI_YELLOW_COLOR MAKE_ARGB(0xef,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(0xef,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(0xef,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) +#define ARGB_WHITE rgb_t(0xff,0xff,0xff,0xff) +#define ARGB_BLACK rgb_t(0xff,0x00,0x00,0x00) +#define UI_BORDER_COLOR rgb_t(0xff,0xff,0xff,0xff) +#define UI_BACKGROUND_COLOR rgb_t(0xef,0x10,0x10,0x30) +#define UI_GFXVIEWER_BG_COLOR rgb_t(0xef,0x10,0x10,0x30) +#define UI_GREEN_COLOR rgb_t(0xef,0x10,0x60,0x10) +#define UI_YELLOW_COLOR rgb_t(0xef,0x60,0x60,0x10) +#define UI_RED_COLOR rgb_t(0xf0,0x60,0x10,0x10) +#define UI_UNAVAILABLE_COLOR rgb_t(0xff,0x40,0x40,0x40) +#define UI_TEXT_COLOR rgb_t(0xff,0xff,0xff,0xff) +#define UI_TEXT_BG_COLOR rgb_t(0xef,0x00,0x00,0x00) +#define UI_SUBITEM_COLOR rgb_t(0xff,0xff,0xff,0xff) +#define UI_CLONE_COLOR rgb_t(0xff,0x80,0x80,0x80) +#define UI_SELECTED_COLOR rgb_t(0xff,0xff,0xff,0x00) +#define UI_SELECTED_BG_COLOR rgb_t(0xef,0x80,0x80,0x00) +#define UI_MOUSEOVER_COLOR rgb_t(0xff,0xff,0xff,0x80) +#define UI_MOUSEOVER_BG_COLOR rgb_t(0x70,0x40,0x40,0x00) +#define UI_MOUSEDOWN_COLOR rgb_t(0xff,0xff,0xff,0x80) +#define UI_MOUSEDOWN_BG_COLOR rgb_t(0xb0,0x60,0x60,0x00) +#define UI_DIPSW_COLOR rgb_t(0xff,0xff,0xff,0x00) +#define UI_SLIDER_COLOR rgb_t(0xff,0xff,0xff,0xff) /* cancel return value for a UI handler */ #define UI_HANDLER_CANCEL ((UINT32)~0) |