diff options
Diffstat (limited to 'src/frontend/mame/ui/auditmenu.cpp')
-rw-r--r-- | src/frontend/mame/ui/auditmenu.cpp | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/src/frontend/mame/ui/auditmenu.cpp b/src/frontend/mame/ui/auditmenu.cpp index 2289762ae49..7d5cbfd7305 100644 --- a/src/frontend/mame/ui/auditmenu.cpp +++ b/src/frontend/mame/ui/auditmenu.cpp @@ -115,9 +115,9 @@ void menu_audit::custom_render(void *selectedref, float top, float bottom, float case phase::CONSENT: draw_text_box( std::begin(m_prompt), std::end(m_prompt), - x, x2, y - top, y - ui().box_tb_border(), + x, x2, y - top, y - UI_BOX_TB_BORDER, ui::text_layout::CENTER, ui::text_layout::NEVER, false, - ui().colors().text_color(), UI_GREEN_COLOR, 1.0f); + UI_TEXT_COLOR, UI_GREEN_COLOR, 1.0f); break; case phase::AUDIT: @@ -140,7 +140,7 @@ void menu_audit::custom_render(void *selectedref, float top, float bottom, float void menu_audit::populate(float &customtop, float &custombottom) { item_append(_("Start Audit"), "", 0, ITEMREF_START); - customtop = (ui().get_line_height() * 2.0f) + (ui().box_tb_border() * 3.0f); + customtop = (ui().get_line_height() * 2.0f) + (UI_BOX_TB_BORDER * 3.0f); } void menu_audit::handle() |