1
Fork 0
mirror of https://github.com/RGBCube/serenity synced 2025-05-23 18:05:08 +00:00

WindowServer: Tweak look of window close button.

This commit is contained in:
Andreas Kling 2019-02-05 12:01:47 +01:00
parent 0f15093e96
commit 0a183df655

View file

@ -238,7 +238,7 @@ void WSWindowManager::paint_window_frame(WSWindow& window)
m_back_painter->fill_rect_with_gradient(close_button_rect.shrunken(2, 2), Color::LightGray, Color::White);
m_back_painter->draw_rect(close_button_rect, Color::Black, true);
m_back_painter->draw_rect(close_button_rect, Color::DarkGray, true);
auto x_location = close_button_rect.center();
x_location.move_by(-(s_close_button_bitmap_width / 2), -(s_close_button_bitmap_height / 2));
m_back_painter->draw_bitmap(x_location, *s_close_button_bitmap, Color::Black);