ladybird/Widgets/Color.h
2018-10-12 23:02:23 +02:00

26 lines
372 B
C++

#pragma once
#include <AK/Types.h>
class Color {
public:
enum NamedColor {
Black,
White,
Red,
Green,
Blue,
DarkGray,
MidGray,
LightGray,
};
Color() { }
Color(NamedColor);
Color(byte r, byte g, byte b);
dword value() const { return m_value; }
private:
dword m_value { 0 };
};