diff options
author | Andreas Kling <awesomekling@gmail.com> | 2019-01-25 07:52:44 +0100 |
---|---|---|
committer | Andreas Kling <awesomekling@gmail.com> | 2019-01-25 07:52:44 +0100 |
commit | dfdca9d2a719928728e2a593b619828e051c2739 (patch) | |
tree | ae55344963025a40aebd57ad091fff2d3737b6e4 /LibGUI/GButton.cpp | |
parent | 2279f5eaa67d9b7a783853e145f44a192d78d82a (diff) | |
download | serenity-dfdca9d2a719928728e2a593b619828e051c2739.zip |
Kernel: Implement lazy FPU state restore.
Diffstat (limited to 'LibGUI/GButton.cpp')
-rw-r--r-- | LibGUI/GButton.cpp | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/LibGUI/GButton.cpp b/LibGUI/GButton.cpp index 3eea022f3a..cee19019d0 100644 --- a/LibGUI/GButton.cpp +++ b/LibGUI/GButton.cpp @@ -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); |