summaryrefslogtreecommitdiff
path: root/LibGUI/GButton.cpp
diff options
context:
space:
mode:
authorAndreas Kling <awesomekling@gmail.com>2019-01-25 07:52:44 +0100
committerAndreas Kling <awesomekling@gmail.com>2019-01-25 07:52:44 +0100
commitdfdca9d2a719928728e2a593b619828e051c2739 (patch)
treeae55344963025a40aebd57ad091fff2d3737b6e4 /LibGUI/GButton.cpp
parent2279f5eaa67d9b7a783853e145f44a192d78d82a (diff)
downloadserenity-dfdca9d2a719928728e2a593b619828e051c2739.zip
Kernel: Implement lazy FPU state restore.
Diffstat (limited to 'LibGUI/GButton.cpp')
-rw-r--r--LibGUI/GButton.cpp1
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);