diff options
author | Hüseyin ASLITÜRK <asliturk@hotmail.com> | 2020-05-16 22:21:29 +0300 |
---|---|---|
committer | Andreas Kling <kling@serenityos.org> | 2020-05-20 13:40:24 +0200 |
commit | d18f6e82eb95054108114843ef824bf36026c758 (patch) | |
tree | 19bf31016c5b3fc7e1f963e09bc83a4462c11295 /Services/WindowServer/Menu.cpp | |
parent | 80699a0824512584553e2f8fac634d4957db54be (diff) | |
download | serenity-d18f6e82eb95054108114843ef824bf36026c758.zip |
LibGUI: Replace up and down arrows with emoji
Diffstat (limited to 'Services/WindowServer/Menu.cpp')
-rw-r--r-- | Services/WindowServer/Menu.cpp | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/Services/WindowServer/Menu.cpp b/Services/WindowServer/Menu.cpp index ac8593b57a..3122665563 100644 --- a/Services/WindowServer/Menu.cpp +++ b/Services/WindowServer/Menu.cpp @@ -211,9 +211,9 @@ void Menu::draw() bool can_go_up = m_scroll_offset > 0; bool can_go_down = m_scroll_offset < m_max_scroll_offset; Gfx::Rect up_indicator_rect { frame_thickness(), frame_thickness(), content_width(), item_height() }; - painter.draw_text(up_indicator_rect, "\xc3\xb6", Gfx::TextAlignment::Center, can_go_up ? palette.menu_base_text() : palette.color(ColorRole::DisabledText)); + painter.draw_text(up_indicator_rect, "\xE2\xAC\x86", Gfx::TextAlignment::Center, can_go_up ? palette.menu_base_text() : palette.color(ColorRole::DisabledText)); Gfx::Rect down_indicator_rect { frame_thickness(), menu_window()->height() - item_height() - frame_thickness(), content_width(), item_height() }; - painter.draw_text(down_indicator_rect, "\xc3\xb7", Gfx::TextAlignment::Center, can_go_down ? palette.menu_base_text() : palette.color(ColorRole::DisabledText)); + painter.draw_text(down_indicator_rect, "\xE2\xAC\x87", Gfx::TextAlignment::Center, can_go_down ? palette.menu_base_text() : palette.color(ColorRole::DisabledText)); } for (int i = 0; i < visible_item_count; ++i) { |