--- a/sources/coloredline.h Fri Jul 24 00:43:16 2015 +0300 +++ b/sources/coloredline.h Fri Jul 24 04:24:38 2015 +0300 @@ -37,15 +37,15 @@ // of the enumerators based on their curses values. enum Color { - BLACK = COLOR_BLACK, - RED = COLOR_RED, - GREEN = COLOR_GREEN, - YELLOW = COLOR_YELLOW, - BLUE = COLOR_BLUE, - MAGENTA = COLOR_MAGENTA, - CYAN = COLOR_CYAN, - WHITE = COLOR_WHITE, - DEFAULT = 8, + BLACK = COLOR_BLACK, + RED = COLOR_RED, + GREEN = COLOR_GREEN, + YELLOW = COLOR_YELLOW, + BLUE = COLOR_BLUE, + MAGENTA = COLOR_MAGENTA, + CYAN = COLOR_CYAN, + WHITE = COLOR_WHITE, + DEFAULT = 8, NUM_COLORS }; @@ -53,24 +53,10 @@ // enum { - RLINE_ON_BLACK = 256, - RLINE_ON_RED, - RLINE_ON_GREEN, - RLINE_ON_YELLOW, - RLINE_ON_BLUE, - RLINE_ON_MAGENTA, - RLINE_ON_CYAN, - RLINE_ON_WHITE, - RLINE_ON_BOLD, - RLINE_OFF_BLACK, - RLINE_OFF_RED, - RLINE_OFF_GREEN, - RLINE_OFF_YELLOW, - RLINE_OFF_BLUE, - RLINE_OFF_MAGENTA, - RLINE_OFF_CYAN, - RLINE_OFF_WHITE, - RLINE_OFF_BOLD, + RLINE_ON_COLOR = 256, + RLINE_OFF_COLOR = 264, + RLINE_ON_BOLD = 272, + RLINE_OFF_BOLD }; // -------------------------------------------------------------------------------------------------