summaryrefslogtreecommitdiffstats
path: root/src/frontend/mame/ui/miscmenu.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'src/frontend/mame/ui/miscmenu.cpp')
-rw-r--r--src/frontend/mame/ui/miscmenu.cpp12
1 files changed, 6 insertions, 6 deletions
diff --git a/src/frontend/mame/ui/miscmenu.cpp b/src/frontend/mame/ui/miscmenu.cpp
index fbb84d0aec3..e2f1f0615fc 100644
--- a/src/frontend/mame/ui/miscmenu.cpp
+++ b/src/frontend/mame/ui/miscmenu.cpp
@@ -790,7 +790,7 @@ void menu_machine_configure::populate(float &customtop, float &custombottom)
item_append(menu_item_type::SEPARATOR);
item_append(_("Save machine configuration"), "", 0, (void *)(uintptr_t)SAVE);
item_append(menu_item_type::SEPARATOR);
- customtop = 2.0f * ui().get_line_height() + 3.0f * ui().box_tb_border();
+ customtop = 2.0f * ui().get_line_height() + 3.0f * UI_BOX_TB_BORDER;
}
//-------------------------------------------------
@@ -802,9 +802,9 @@ void menu_machine_configure::custom_render(void *selectedref, float top, float b
char const *const text[] = { _("Configure machine:"), m_drv.type.fullname() };
draw_text_box(
std::begin(text), std::end(text),
- origx1, origx2, origy1 - top, origy1 - ui().box_tb_border(),
+ origx1, origx2, origy1 - top, origy1 - UI_BOX_TB_BORDER,
ui::text_layout::CENTER, ui::text_layout::TRUNCATE, false,
- ui().colors().text_color(), UI_GREEN_COLOR, 1.0f);
+ UI_TEXT_COLOR, UI_GREEN_COLOR, 1.0f);
}
void menu_machine_configure::setup_bios()
@@ -906,7 +906,7 @@ void menu_plugins_configure::populate(float &customtop, float &custombottom)
}
}
item_append(menu_item_type::SEPARATOR);
- customtop = ui().get_line_height() + (3.0f * ui().box_tb_border());
+ customtop = ui().get_line_height() + (3.0f * UI_BOX_TB_BORDER);
}
//-------------------------------------------------
@@ -918,9 +918,9 @@ void menu_plugins_configure::custom_render(void *selectedref, float top, float b
char const *const toptext[] = { _("Plugins") };
draw_text_box(
std::begin(toptext), std::end(toptext),
- origx1, origx2, origy1 - top, origy1 - ui().box_tb_border(),
+ origx1, origx2, origy1 - top, origy1 - UI_BOX_TB_BORDER,
ui::text_layout::CENTER, ui::text_layout::TRUNCATE, false,
- ui().colors().text_color(), UI_GREEN_COLOR, 1.0f);
+ UI_TEXT_COLOR, UI_GREEN_COLOR, 1.0f);
}
} // namespace ui