mirror of
https://github.com/RGBCube/serenity
synced 2025-05-17 13:15:06 +00:00
WindowServer: Improve window frames by giving them a raised frame look. :^)
This commit is contained in:
parent
3c62534ae6
commit
c9951bbe60
6 changed files with 16 additions and 23 deletions
|
@ -115,8 +115,8 @@ void WSMenu::draw()
|
|||
Painter painter(*menu_window()->backing_store());
|
||||
|
||||
Rect rect { { }, menu_window()->size() };
|
||||
painter.fill_rect(rect.shrunken(4, 4), Color::LightGray);
|
||||
StylePainter::paint_menu_frame(painter, rect);
|
||||
painter.fill_rect(rect.shrunken(6, 6), Color::LightGray);
|
||||
StylePainter::paint_window_frame(painter, rect);
|
||||
int width = this->width();
|
||||
|
||||
if (!s_checked_bitmap)
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue