diff options
Diffstat (limited to 'src/frontend/mame/ui/utils.cpp')
-rw-r--r-- | src/frontend/mame/ui/utils.cpp | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/src/frontend/mame/ui/utils.cpp b/src/frontend/mame/ui/utils.cpp index 0cf7c613b60..58ee1e09f8d 100644 --- a/src/frontend/mame/ui/utils.cpp +++ b/src/frontend/mame/ui/utils.cpp @@ -356,7 +356,7 @@ private: char const *const text[] = { _("Select custom filters:") }; draw_text_box( std::begin(text), std::end(text), - 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); } @@ -525,7 +525,7 @@ void composite_filter_impl_base<Impl, Base, Type>::menu_configure::populate(floa item_append(menu_item_type::SEPARATOR); // leave space for heading - customtop = ui().get_line_height() + 3.0f * UI_BOX_TB_BORDER; + customtop = ui().get_line_height() + 3.0f * ui().box_tb_border(); } template <class Impl, class Base, typename Base::type Type> @@ -966,7 +966,7 @@ private: char const *const text[] = { _("Select category:") }; draw_text_box( std::begin(text), std::end(text), - 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); } @@ -1055,7 +1055,7 @@ void category_machine_filter::menu_configure::populate(float &customtop, float & } } 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(); } void category_machine_filter::menu_configure::handle() |