diff options
Diffstat (limited to 'src/frontend/mame/ui/textbox.cpp')
-rw-r--r-- | src/frontend/mame/ui/textbox.cpp | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/src/frontend/mame/ui/textbox.cpp b/src/frontend/mame/ui/textbox.cpp index 177f39a0f53..9761491bf78 100644 --- a/src/frontend/mame/ui/textbox.cpp +++ b/src/frontend/mame/ui/textbox.cpp @@ -178,8 +178,8 @@ void menu_textbox::draw(uint32_t flags) set_hover(HOVER_ARROW_UP); } draw_arrow( - 0.5f * (x1 + x2) - 0.5f * ud_arrow_width, visible_top + 0.25f * line_height, - 0.5f * (x1 + x2) + 0.5f * ud_arrow_width, visible_top + 0.75f * line_height, + 0.5f * (x1 + x2 - ud_arrow_width), visible_top + (0.25f * line_height), + 0.5f * (x1 + x2 + ud_arrow_width), visible_top + (0.75f * line_height), fgcolor, ROT0); } if ((m_top_line + m_window_lines) < visible_items) @@ -197,8 +197,8 @@ void menu_textbox::draw(uint32_t flags) set_hover(HOVER_ARROW_DOWN); } draw_arrow( - 0.5f * (x1 + x2) - 0.5f * ud_arrow_width, line_y + 0.25f * line_height, - 0.5f * (x1 + x2) + 0.5f * ud_arrow_width, line_y + 0.75f * line_height, + 0.5f * (x1 + x2 - ud_arrow_width), line_y + (0.25f * line_height), + 0.5f * (x1 + x2 + ud_arrow_width), line_y + (0.75f * line_height), fgcolor, ROT0 ^ ORIENTATION_FLIP_Y); } |