diff options
author | 2016-02-21 16:38:05 +0100 | |
---|---|---|
committer | 2016-02-21 16:38:05 +0100 | |
commit | 859cec460360b2f6c02b6e6807105328dfedebcb (patch) | |
tree | 7bacd9090636c660926837128f58e819406d8ed3 /src/emu/ui/dsplmenu.cpp | |
parent | fadf168c9eb5687cd1b8fe25911d50c4039447f3 (diff) |
ui: localization part1. (nw)
Diffstat (limited to 'src/emu/ui/dsplmenu.cpp')
-rw-r--r-- | src/emu/ui/dsplmenu.cpp | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/emu/ui/dsplmenu.cpp b/src/emu/ui/dsplmenu.cpp index 01ee9c19578..93cf3771133 100644 --- a/src/emu/ui/dsplmenu.cpp +++ b/src/emu/ui/dsplmenu.cpp @@ -202,7 +202,7 @@ void ui_menu_display_options::custom_render(void *selectedref, float top, float { float width; ui_manager &mui = machine().ui(); - mui.draw_text_full(container, "Display Options", 0.0f, 0.0f, 1.0f, JUSTIFY_CENTER, WRAP_TRUNCATE, DRAW_NONE, + mui.draw_text_full(container, _("Display Options"), 0.0f, 0.0f, 1.0f, JUSTIFY_CENTER, WRAP_TRUNCATE, DRAW_NONE, ARGB_WHITE, ARGB_BLACK, &width, nullptr); width += 2 * UI_BOX_LR_BORDER; float maxwidth = MAX(origx2 - origx1, width); @@ -222,6 +222,6 @@ void ui_menu_display_options::custom_render(void *selectedref, float top, float y1 += UI_BOX_TB_BORDER; // draw the text within it - mui.draw_text_full(container, "Display Options", x1, y1, x2 - x1, JUSTIFY_CENTER, WRAP_TRUNCATE, DRAW_NORMAL, + mui.draw_text_full(container, _("Display Options"), x1, y1, x2 - x1, JUSTIFY_CENTER, WRAP_TRUNCATE, DRAW_NORMAL, UI_TEXT_COLOR, UI_TEXT_BG_COLOR, nullptr, nullptr); } |