diff options
author | ridiculousfish <corydoras@ridiculousfish.com> | 2012-02-11 17:07:56 -0800 |
---|---|---|
committer | ridiculousfish <corydoras@ridiculousfish.com> | 2012-02-11 17:07:56 -0800 |
commit | d66700a0e4d20a9193ea83490781c0858d98c3f6 (patch) | |
tree | 85ac2ea2e5cedda5d99cbbf3eba95eb07de4a0cf /output.h | |
parent | b59a22bef03b7b7922687cb4f1e6acb8a2709218 (diff) |
Color work
Diffstat (limited to 'output.h')
-rw-r--r-- | output.h | 5 |
1 files changed, 4 insertions, 1 deletions
@@ -9,6 +9,7 @@ #define FISH_OUTPUT_H #include <wchar.h> +#include "screen.h" /** Constants for various colors as used by the set_color function. @@ -71,7 +72,8 @@ enum */ -void set_color( int c, int c2 ); +//void set_color( int c, int c2 ); +void set_color(rgb_color_t c, rgb_color_t c2); /** Write specified multibyte string @@ -129,6 +131,7 @@ int write_escaped_str( const wchar_t *str, int max_len ); Return the internal color code representing the specified color */ int output_color_code( const wcstring &val, bool is_background ); +rgb_color_t parse_color( const wcstring &val, bool is_background ); /** This is for writing process notification messages. Has to write to |