diff options
Diffstat (limited to 'src/FbTk/Color.hh')
-rw-r--r-- | src/FbTk/Color.hh | 5 |
1 files changed, 4 insertions, 1 deletions
diff --git a/src/FbTk/Color.hh b/src/FbTk/Color.hh index b17dd95..7536d89 100644 --- a/src/FbTk/Color.hh +++ b/src/FbTk/Color.hh | |||
@@ -54,7 +54,10 @@ public: | |||
54 | inline unsigned short green() const { return m_green; } | 54 | inline unsigned short green() const { return m_green; } |
55 | inline unsigned short blue() const { return m_blue; } | 55 | inline unsigned short blue() const { return m_blue; } |
56 | inline unsigned long pixel() const { return m_pixel; } | 56 | inline unsigned long pixel() const { return m_pixel; } |
57 | 57 | ||
58 | /// @return true if the color name in color_string is resolved, else false | ||
59 | static bool validColorString(const char *color_string, int screen); | ||
60 | |||
58 | private: | 61 | private: |
59 | void free(); | 62 | void free(); |
60 | void copy(const Color &col); | 63 | void copy(const Color &col); |