summaryrefslogtreecommitdiffstats
path: root/src/frontend/mame/ui/datmenu.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/datmenu.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/datmenu.h')
-rw-r--r--src/frontend/mame/ui/datmenu.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/src/frontend/mame/ui/datmenu.h b/src/frontend/mame/ui/datmenu.h
index 3dc60b16c93..0c7fd9c22e7 100644
--- a/src/frontend/mame/ui/datmenu.h
+++ b/src/frontend/mame/ui/datmenu.h
@@ -37,6 +37,7 @@ public:
protected:
virtual void custom_render(void *selectedref, float top, float bottom, float x, float y, float x2, float y2) override;
+ virtual bool custom_mouse_down() override;
private:
// draw dats menu