From 75e5db381bd0cbd3fd664ebf83f518cdbd86b345 Mon Sep 17 00:00:00 2001 From: Dirk Best Date: Sat, 12 Mar 2016 02:34:23 +0100 Subject: Add support to adjust the screen color This is now used for monochrome screens instead of creating custom palettes. --- src/lib/util/palette.cpp | 8 ++++++++ 1 file changed, 8 insertions(+) (limited to 'src/lib/util/palette.cpp') diff --git a/src/lib/util/palette.cpp b/src/lib/util/palette.cpp index bd3c2d45ede..8c61c64a470 100644 --- a/src/lib/util/palette.cpp +++ b/src/lib/util/palette.cpp @@ -15,9 +15,17 @@ #include +//************************************************************************** +// CONSTANTS +//************************************************************************** + const rgb_t rgb_t::black(0,0,0); const rgb_t rgb_t::white(255,255,255); +// the colors below are commonly used screen colors +const rgb_t rgb_t::green(0, 255, 0); +const rgb_t rgb_t::amber(247, 170, 0); + //************************************************************************** // INLINE FUNCTIONS -- cgit v1.2.3-70-g09d2