mirror of
https://github.com/LadybirdBrowser/ladybird.git
synced 2024-11-22 23:50:19 +00:00
23 lines
318 B
C++
23 lines
318 B
C++
#pragma once
|
|
|
|
#include <AK/Types.h>
|
|
|
|
class Color {
|
|
public:
|
|
enum NamedColor {
|
|
Black,
|
|
White,
|
|
Red,
|
|
Green,
|
|
Blue,
|
|
};
|
|
|
|
Color() { }
|
|
Color(NamedColor);
|
|
Color(byte r, byte g, byte b);
|
|
|
|
dword value() const { return m_value; }
|
|
|
|
private:
|
|
dword m_value { 0 };
|
|
};
|