mame/src
npwoods 1047b8cafe Refactored UI font metrics (#5291)
* Changed the various usages of UI_*COLOR to be calls to
src/frontend/mame/ui/moptions.h

The various UI_*COLOR macros were implemented as calls to
decode_ui_color, which cached the values for the various options in a
static array, which was obviously a gross hack.

This refactoring is strategic because I am trying to confine awareness
of mame_ui_manager to code in src/frontend/mame/ui, and the
implementation of decode_ui_color() relied on the ability to access
mame_ui_manager as a singleton from outside this code.

* Created a ui_colors object, so that queries for UI RGB values would not
always require parsing strings

* Replaced UI_TARGET_FONT_[ROWS|HEIGHT] and UI_BOX_[LR|TD]_BORDER macros with
property calls

These macros were implemented with a call to a function
(get_font_rows()) that opportunistically stashed the results of option
accesses in static variables; in other words, a gross hack

Because get_font_rows() attempted to access mame_ui_manager as a
singleton, it was an obstactle to providing an alternative
implementation of ui_manager

* Remove stray debugging cruft that found a way into the other PR
2019-06-30 12:16:44 -04:00
..
devices Missed a file, nw 2019-06-30 15:08:18 +02:00
emu -imagedev/harddriv: Removed MCFG macros. [Ryan Holtz] 2019-06-30 15:08:18 +02:00
frontend/mame Refactored UI font metrics (#5291) 2019-06-30 12:16:44 -04:00
lib txz_cass.cpp: Adding 1 ms. pause to ensure that the last edge is properly finished at the end of tape 2019-06-26 12:22:07 +02:00
mame (nw) more cassette wav sound 2019-06-30 23:54:38 +10:00
osd MIDI: fixed reception of several System Common messages [Golden Child, R. Belmont] 2019-06-23 08:07:24 -04:00
tools Add disassembler and skeleton device for DP8344 Biphase Communications Processor 2019-06-22 18:14:16 -04:00
zexall