Dillo v3.1.1-111-gd4f56d0d
|
#include "config.h"
#include <stdint.h>
Go to the source code of this file.
Functions | |
int32_t | a_Color_parse (const char *str, int32_t default_color, int *err) |
Parse a color string. | |
int32_t | a_Color_vc (int32_t candidate, int32_t c1, int32_t c2, int32_t c3) |
Return a suitable "visited link" color. | |
int32_t a_Color_parse | ( | const char * | str, |
int32_t | default_color, | ||
int * | err | ||
) |
Parse a color string.
"err" argument:
Definition at line 258 of file colors.c.
References _MSG, color_keyword, Color_parse_hex(), dIsspace, dStrAsciiCasecmp(), and NCOLORS.
Referenced by a_Html_color_parse(), parseOption(), CssParser::parseValue(), and CssParser::tokenMatchesProperty().
int32_t a_Color_vc | ( | int32_t | candidate, |
int32_t | C_txt, | ||
int32_t | C_lnk, | ||
int32_t | C_bg | ||
) |
Return a suitable "visited link" color.
Definition at line 344 of file colors.c.
References _MSG, Color_distance2(), and Color_distance3().
Referenced by Html_tag_open_body().