summaryrefslogtreecommitdiffstats
path: root/src/frontend/mame/ui/ui.h
diff options
context:
space:
mode:
author Vas Crabb <vas@vastheman.com>2021-10-12 03:56:42 +1100
committer Vas Crabb <vas@vastheman.com>2021-10-12 04:03:05 +1100
commitf494a0002471e5c5f905059c38b47995a7342c9f (patch)
treeea2cec423e703fa8b01b5c938803921e140edaed /src/frontend/mame/ui/ui.h
parent1668688eb412c0501d2161c1565e6c155380ee8d (diff)
More UI enhancements/cleanup:
Made the headings in the info viewer clickable, so you can switch between DATs with a mouse or trackball (or maybe a lightgun if that's your thing). Made the UI red/yellow/green traffic light status colours less dirty-looking. The "yellow" is more of an amber-brown than a cat puke brown now, and red is brighter. The contrast with white text is definitely fine for red and green, but it's reduced a bit for yellow. However there's a limit to how dark you can make a yellow or orange colour before it looks muddy. Reduced the number of places the UI uses red for things that aren't errors. The error colour should be used sparingly, for actual errors. Improved the colour swatch display in the RGBA colour editor. It now has black/white underlay so alpha effects are move obvious. Also fixed a bug preventing the channels being run down to zero. Fixed double-clicking configure machine causing MAME to exit from the system selection menu. Also slightly adjusted the colours of the toolbar buttons again.
Diffstat (limited to 'src/frontend/mame/ui/ui.h')
-rw-r--r--src/frontend/mame/ui/ui.h6
1 files changed, 3 insertions, 3 deletions
diff --git a/src/frontend/mame/ui/ui.h b/src/frontend/mame/ui/ui.h
index 633d3c476f4..9607ca24a91 100644
--- a/src/frontend/mame/ui/ui.h
+++ b/src/frontend/mame/ui/ui.h
@@ -54,9 +54,9 @@ class laserdisc_device;
#define UI_LINE_WIDTH (1.0f / 500.0f)
/* handy colors */
-#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_GREEN_COLOR rgb_t(0xef,0x0a,0x66,0x0a)
+#define UI_YELLOW_COLOR rgb_t(0xef,0xcc,0x7a,0x28)
+#define UI_RED_COLOR rgb_t(0xef,0xcc,0x14,0x14)
/* cancel return value for a UI handler */
#define UI_HANDLER_CANCEL ((uint32_t)~0)