diff options
Diffstat (limited to 'src/frontend/mame/ui/slotopt.cpp')
-rw-r--r-- | src/frontend/mame/ui/slotopt.cpp | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/src/frontend/mame/ui/slotopt.cpp b/src/frontend/mame/ui/slotopt.cpp index 01493173731..b41e7f4c935 100644 --- a/src/frontend/mame/ui/slotopt.cpp +++ b/src/frontend/mame/ui/slotopt.cpp @@ -203,7 +203,7 @@ void menu_slot_devices::populate(float &customtop, float &custombottom) item_append(_("Reset"), "", 0, ITEMREF_RESET); // leave space for the name of the current option at the bottom - custombottom = ui().get_line_height() + 3.0f * ui().box_tb_border(); + custombottom = ui().get_line_height() + 3.0f * UI_BOX_TB_BORDER; } @@ -220,9 +220,9 @@ void menu_slot_devices::custom_render(void *selectedref, float top, float bottom char const *const text[] = { option ? option->devtype().fullname() : _("[empty slot]") }; draw_text_box( std::begin(text), std::end(text), - origx1, origx2, origy2 + ui().box_tb_border(), origy2 + bottom, + origx1, origx2, origy2 + UI_BOX_TB_BORDER, origy2 + bottom, ui::text_layout::CENTER, ui::text_layout::TRUNCATE, false, - ui().colors().text_color(), ui().colors().background_color(), 1.0f); + UI_TEXT_COLOR, UI_BACKGROUND_COLOR, 1.0f); } } |