1
Fork 0
mirror of https://github.com/RGBCube/serenity synced 2025-07-26 10:47:35 +00:00

Snazz up the windows with some title bar gradients. :^)

This commit is contained in:
Andreas Kling 2019-01-25 05:01:27 +01:00
parent c6b7b92625
commit 0db72786cf
7 changed files with 95 additions and 9 deletions

View file

@ -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: