diff options
author | 2016-02-29 10:22:58 +0100 | |
---|---|---|
committer | 2016-02-29 10:22:58 +0100 | |
commit | d5ce1264a5dca03ded7ce3c8f4542c977625ec20 (patch) | |
tree | 9b959eb5160b9d4f74d7b3ddb3604c9bb3d1657e /src/emu/ui/menu.cpp | |
parent | 7936291894faa9cc3df6039b8794c01b988055ed (diff) |
ui: changed filter label from "Originals" to "Parents" (MT06143)
Diffstat (limited to 'src/emu/ui/menu.cpp')
-rw-r--r-- | src/emu/ui/menu.cpp | 8 |
1 files changed, 3 insertions, 5 deletions
diff --git a/src/emu/ui/menu.cpp b/src/emu/ui/menu.cpp index f004d78c18d..f6154c41638 100644 --- a/src/emu/ui/menu.cpp +++ b/src/emu/ui/menu.cpp @@ -1587,19 +1587,17 @@ void ui_menu::draw_select_game(bool noinput) { fgcolor = rgb_t(0xff, 0xff, 0xff, 0x00); bgcolor = rgb_t(0xff, 0xff, 0xff, 0xff); + mui.draw_textured_box(container, line_x0 + 0.01f, line_y0, line_x1 - 0.01f, line_y1, bgcolor, rgb_t(255, 43, 43, 43), + hilight_main_texture, PRIMFLAG_BLENDMODE(BLENDMODE_ALPHA) | PRIMFLAG_TEXWRAP(TRUE)); } // else if the mouse is over this item, draw with a different background else if (count == hover) { fgcolor = UI_MOUSEOVER_COLOR; bgcolor = UI_MOUSEOVER_BG_COLOR; + highlight(container, line_x0, line_y0, line_x1, line_y1, bgcolor); } - // if we have some background hilighting to do, add a quad behind everything else - if (bgcolor != UI_TEXT_BG_COLOR) - mui.draw_textured_box(container, line_x0 + 0.01f, line_y0, line_x1 - 0.01f, line_y1, bgcolor, rgb_t(255, 43, 43, 43), - hilight_main_texture, PRIMFLAG_BLENDMODE(BLENDMODE_ALPHA) | PRIMFLAG_TEXWRAP(TRUE)); - if (strcmp(itemtext, MENU_SEPARATOR_ITEM) == 0) container->add_line(visible_left, line + 0.5f * line_height, visible_left + visible_width, line + 0.5f * line_height, UI_LINE_WIDTH, UI_TEXT_COLOR, PRIMFLAG_BLENDMODE(BLENDMODE_ALPHA)); |