diff options
author | 2021-10-12 03:56:42 +1100 | |
---|---|---|
committer | 2021-10-12 04:03:05 +1100 | |
commit | f494a0002471e5c5f905059c38b47995a7342c9f (patch) | |
tree | ea2cec423e703fa8b01b5c938803921e140edaed /src/frontend/mame/ui/submenu.cpp | |
parent | 1668688eb412c0501d2161c1565e6c155380ee8d (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/submenu.cpp')
-rw-r--r-- | src/frontend/mame/ui/submenu.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/frontend/mame/ui/submenu.cpp b/src/frontend/mame/ui/submenu.cpp index 5e6e0cc4152..d6d237cabd3 100644 --- a/src/frontend/mame/ui/submenu.cpp +++ b/src/frontend/mame/ui/submenu.cpp @@ -456,7 +456,7 @@ void submenu::custom_render(void *selectedref, float top, float bottom, float or std::begin(bottomtext), std::end(bottomtext), origx1, origx2, origy2 + ui().box_tb_border(), origy2 + bottom, ui::text_layout::CENTER, ui::text_layout::TRUNCATE, false, - ui().colors().text_color(), UI_RED_COLOR, 1.0f); + ui().colors().text_color(), ui().colors().background_color(), 1.0f); } } } |