diff options
author | ridiculousfish <corydoras@ridiculousfish.com> | 2012-03-13 14:22:53 -0700 |
---|---|---|
committer | ridiculousfish <corydoras@ridiculousfish.com> | 2012-03-13 14:23:10 -0700 |
commit | 52d8fb301c5107c448936efda650044c5d27605a (patch) | |
tree | 9f5bf68157f9dda0ba14f3e5f9eba5a334aff36d /color.h | |
parent | dfe159e7192748bb03b0b58ef67f0a999c2bec82 (diff) |
Added term256 support to set_color tool
Diffstat (limited to 'color.h')
-rw-r--r-- | color.h | 4 |
1 files changed, 4 insertions, 0 deletions
@@ -44,6 +44,9 @@ class rgb_color_t { /** Try parsing an explicit color name like "magenta" */ bool try_parse_named(const wcstring &str); + /* Parsing entry point */ + void parse(const wcstring &str); + /** Private constructor */ explicit rgb_color_t(unsigned char t, unsigned char i=0); @@ -54,6 +57,7 @@ class rgb_color_t { /** Parse a color from a string */ explicit rgb_color_t(const wcstring &str); + explicit rgb_color_t(const std::string &str); /** Returns white */ static rgb_color_t white(); |