summaryrefslogtreecommitdiff
path: root/Userland/Libraries/LibGfx/StylePainter.h
diff options
context:
space:
mode:
authorAndreas Kling <kling@serenityos.org>2021-08-30 23:29:29 +0200
committerAndreas Kling <kling@serenityos.org>2021-08-31 01:35:08 +0200
commitb8416df173ccf46c95a992b1ceea9007b58a6187 (patch)
tree16ca33dc71ac0013aed822a392ee03d3b2adc8a6 /Userland/Libraries/LibGfx/StylePainter.h
parent087bd7f767d706af2ac9357410b70bcb6db88b6d (diff)
downloadserenity-b8416df173ccf46c95a992b1ceea9007b58a6187.zip
LibGUI+LibGfx: Make scrollbar buttons a little bit thicker
The common thin-cap button look (1px highlight, 2px shadow) looks nice on regular buttons, but the scrollbar didn't feel quite right. This patch adds 1px of offset to the highlight, giving it a thick-cap look (which I have named Gfx::ButtonStyle::ThickCap) :^)
Diffstat (limited to 'Userland/Libraries/LibGfx/StylePainter.h')
-rw-r--r--Userland/Libraries/LibGfx/StylePainter.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/Userland/Libraries/LibGfx/StylePainter.h b/Userland/Libraries/LibGfx/StylePainter.h
index 068aec8e88..f8b24362db 100644
--- a/Userland/Libraries/LibGfx/StylePainter.h
+++ b/Userland/Libraries/LibGfx/StylePainter.h
@@ -13,6 +13,7 @@ namespace Gfx {
enum class ButtonStyle {
Normal,
+ ThickCap,
Coolbar,
Tray,
};