|
ELinks 0.19.1
|

Data Structures | |
| struct | color_pair |
Macros | |
| #define | INIT_COLOR_PAIR(bg, fg) |
Typedefs | |
| typedef uint32_t | color_T |
Functions | |
| int | decode_color (const char *str, int slen, color_T *color) |
| Decode the color string. | |
| const char * | get_color_string (color_T color, char hexcolor[8]) |
| Returns a string containing the color info. | |
| void | color_to_string (color_T color, char str[8]) |
| Translate rgb color to string in #rrggbb format. | |
Fastfind lookup management. | |
| void | init_colors_lookup (void) |
| void | free_colors_lookup (void) |
| #define INIT_COLOR_PAIR | ( | bg, | |
| fg ) |
| typedef uint32_t color_T |
| void color_to_string | ( | color_T | color, |
| char | str[8] ) |
Translate rgb color to string in #rrggbb format.
str should be a pointer to an 8 bytes memory space.
| int decode_color | ( | const char * | str, |
| int | slen, | ||
| color_T * | color ) |
Decode the color string.
The color string can either contain '#FF0044' style declarations or color names.
| void free_colors_lookup | ( | void | ) |
| const char * get_color_string | ( | color_T | color, |
| char | hexcolor[8] ) |
Returns a string containing the color info.
If no 'English' name can be found the hex color (#rrggbb) is returned in the given buffer.
| void init_colors_lookup | ( | void | ) |