diff options
Diffstat (limited to 'drape/color.hpp')
-rw-r--r-- | drape/color.hpp | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/drape/color.hpp b/drape/color.hpp index d5f88fc686..20c575bbd6 100644 --- a/drape/color.hpp +++ b/drape/color.hpp @@ -19,6 +19,10 @@ struct Color uint8_t m_alfa; int GetColorInInt() const { return (m_alfa << 24) | (m_blue << 16) | (m_green << 8) | m_red; } + + static Color Black() { return Color(0, 0, 0, 255); } + static Color White() { return Color(255, 255, 255, 255); } + static Color Red() { return Color(255, 0, 0, 255); } }; struct ColorF |