mirror of
https://github.com/RGBCube/serenity
synced 2025-05-16 19:05:08 +00:00
Kernel: Implement lazy FPU state restore.
This commit is contained in:
parent
2279f5eaa6
commit
dfdca9d2a7
8 changed files with 50 additions and 9 deletions
|
@ -42,6 +42,7 @@ void GButton::paint_event(GPaintEvent&)
|
|||
} else {
|
||||
// Base
|
||||
painter.fill_rect({ 3, 3, width() - 5, height() - 5 }, button_color);
|
||||
painter.fill_rect_with_gradient({ 3, 3, width() - 5, height() - 5 }, button_color, Color::White);
|
||||
|
||||
// White highlight
|
||||
painter.draw_line({ 1, 1 }, { width() - 2, 1 }, highlight_color);
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue