aboutsummaryrefslogtreecommitdiffhomepage
path: root/color.h
diff options
context:
space:
mode:
authorGravatar ridiculousfish <corydoras@ridiculousfish.com>2012-03-13 14:22:53 -0700
committerGravatar ridiculousfish <corydoras@ridiculousfish.com>2012-03-13 14:23:10 -0700
commit52d8fb301c5107c448936efda650044c5d27605a (patch)
tree9f5bf68157f9dda0ba14f3e5f9eba5a334aff36d /color.h
parentdfe159e7192748bb03b0b58ef67f0a999c2bec82 (diff)
Added term256 support to set_color tool
Diffstat (limited to 'color.h')
-rw-r--r--color.h4
1 files changed, 4 insertions, 0 deletions
diff --git a/color.h b/color.h
index 2e86a675..23e5ba77 100644
--- a/color.h
+++ b/color.h
@@ -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();