diff options
author | Andreas Kling <kling@serenityos.org> | 2021-08-30 23:29:29 +0200 |
---|---|---|
committer | Andreas Kling <kling@serenityos.org> | 2021-08-31 01:35:08 +0200 |
commit | b8416df173ccf46c95a992b1ceea9007b58a6187 (patch) | |
tree | 16ca33dc71ac0013aed822a392ee03d3b2adc8a6 /Userland/Libraries/LibGfx/StylePainter.h | |
parent | 087bd7f767d706af2ac9357410b70bcb6db88b6d (diff) | |
download | serenity-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.h | 1 |
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, }; |