summaryrefslogtreecommitdiffstatshomepage
path: root/src/frontend/mame/ui/sndmenu.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'src/frontend/mame/ui/sndmenu.cpp')
-rw-r--r--src/frontend/mame/ui/sndmenu.cpp4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/frontend/mame/ui/sndmenu.cpp b/src/frontend/mame/ui/sndmenu.cpp
index 4763bfe7226..01397bd8f74 100644
--- a/src/frontend/mame/ui/sndmenu.cpp
+++ b/src/frontend/mame/ui/sndmenu.cpp
@@ -137,7 +137,7 @@ void menu_sound_options::populate(float &customtop, float &custombottom)
item_append_on_off(_("Use External Samples"), m_samples, 0, (void *)(uintptr_t)ENABLE_SAMPLES);
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());
}
//-------------------------------------------------
@@ -149,7 +149,7 @@ void menu_sound_options::custom_render(void *selectedref, float top, float botto
char const *const toptext[] = { _("Sound Options") };
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);
}