mirror of
https://github.com/RGBCube/serenity
synced 2025-07-26 20:17:44 +00:00
Snazz up the windows with some title bar gradients. :^)
This commit is contained in:
parent
c6b7b92625
commit
0db72786cf
7 changed files with 95 additions and 9 deletions
|
@ -29,6 +29,10 @@ public:
|
|||
Color(byte r, byte g, byte b) : m_value((r << 16) | (g << 8) | b) { }
|
||||
Color(RGBA32 rgba) : m_value(rgba) { }
|
||||
|
||||
int red() const { return (m_value >> 16) & 0xff; }
|
||||
int green() const { return (m_value >> 8) & 0xff; }
|
||||
int blue() const { return m_value & 0xff; }
|
||||
|
||||
RGBA32 value() const { return m_value; }
|
||||
|
||||
private:
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue