mirror of
https://github.com/RGBCube/serenity
synced 2025-05-31 07:38:10 +00:00
Tweak the look of various UI surfaces and buttons.
This commit is contained in:
parent
d71820a382
commit
670e376e27
10 changed files with 65 additions and 20 deletions
|
@ -507,7 +507,7 @@ void WSWindowManager::paint_window_frame(WSWindow& window)
|
|||
|
||||
m_back_painter->blit(titlebar_icon_rect.location(), window.icon(), window.icon().rect());
|
||||
|
||||
m_back_painter->draw_rect(close_button_rect, Color::DarkGray);
|
||||
m_back_painter->draw_rect(close_button_rect, Color::MidGray);
|
||||
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);
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue