mirror of
https://github.com/RGBCube/serenity
synced 2025-06-01 08:28:11 +00:00
WindowServer: Tweak window titlebar look somewhat.
Add a subtle shadow to the titlebar text. Also make the titlebar one pixel taller to fully accomodate the 90s "3D frame" effect. :^)
This commit is contained in:
parent
34150f0836
commit
41ebb3eba3
2 changed files with 8 additions and 17 deletions
|
@ -79,9 +79,9 @@ public:
|
|||
return Color(gray, gray, gray, alpha());
|
||||
}
|
||||
|
||||
Color darkened() const
|
||||
Color darkened(float amount = 0.5) const
|
||||
{
|
||||
return Color(red() * 0.8, green() * 0.8, blue() * 0.8, alpha());
|
||||
return Color(red() * amount, green() * amount, blue() * amount, alpha());
|
||||
}
|
||||
|
||||
Color lightened() const
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue