diff options
Diffstat (limited to 'src/frontend/mame/ui/utils.cpp')
-rw-r--r-- | src/frontend/mame/ui/utils.cpp | 12 |
1 files changed, 6 insertions, 6 deletions
diff --git a/src/frontend/mame/ui/utils.cpp b/src/frontend/mame/ui/utils.cpp index 58ee1e09f8d..7511a219bf8 100644 --- a/src/frontend/mame/ui/utils.cpp +++ b/src/frontend/mame/ui/utils.cpp @@ -356,9 +356,9 @@ 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); + UI_TEXT_COLOR, UI_GREEN_COLOR, 1.0f); } private: @@ -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,9 +966,9 @@ 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); + UI_TEXT_COLOR, UI_GREEN_COLOR, 1.0f); } private: @@ -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() |