mirror of
https://github.com/RGBCube/serenity
synced 2025-05-19 16:35:06 +00:00
LibDraw: Add Button and ButtonText system theme colors
These are now separate from the Window and WindowText colors.
This commit is contained in:
parent
9171aef724
commit
df3a2dba43
21 changed files with 57 additions and 39 deletions
|
@ -20,7 +20,7 @@ void GResizeCorner::paint_event(GPaintEvent& event)
|
|||
{
|
||||
GPainter painter(*this);
|
||||
painter.add_clip_rect(event.rect());
|
||||
painter.fill_rect(rect(), SystemColor::Window);
|
||||
painter.fill_rect(rect(), SystemColor::Button);
|
||||
painter.blit({ 0, 0 }, *m_bitmap, m_bitmap->rect());
|
||||
GWidget::paint_event(event);
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue