20 Commits (11a034e2a60a75df6ea769863c746118a4cdcd43)

Author SHA1 Message Date
Milan Gardian ba4038b496 Use float constants to prevent double->float conversion warning 11 years ago
Tj Holowaychuk 7712bd4b5d fixed css color table styling 13 years ago
obarthel 5f1614893d Named color table rebuilt from CSS Color Module Level 3 specification 13 years ago
Tj Holowaychuk 959009b884 buf_size -> len 13 years ago
obarthel 5a8083de17 Added buffer size checks to the rgba_to_string() function 13 years ago
atomizer d97748e9b6 clamp r,g,b to 0..255, alpha to 0..1 (assuming everything is >= 0) 14 years ago
Tj Holowaychuk 5ec4a8f52b misc refactoring 14 years ago
Tj Holowaychuk ff10bb0feb fix float -> int warning 15 years ago
Tj Holowaychuk ffad506fd2 Fixed two named colors. Closes #62 [thanks noonat] 15 years ago
Tj Holowaychuk d89080e543 s/strnstr/strstr/ 15 years ago
Tj Holowaychuk 4c952d6dbf misc 15 years ago
Tj Holowaychuk b037e7938f misc refactoring 15 years ago
Tj Holowaychuk f4cd85ad05 lowercase rgba_to_string res for hex 15 years ago
Tj Holowaychuk 9c5a511051 fixed hex parsing, defaulting alpha to 1 15 years ago
Tj Holowaychuk 54be6c057a automatic rgba_to_string() 15 years ago
Tj Holowaychuk ddeb6f3566 Added rgba_to_string() 15 years ago
Tj Holowaychuk 62fb1299a4 rgba_from_string(const char *str, short *ok) 15 years ago
Tj Holowaychuk e2a95c9537 implementing color parser 15 years ago
Tj Holowaychuk 82c8d562d6 fixed rgba_create() 15 years ago
Tj Holowaychuk c04f70e240 Added color.cc 15 years ago
Tj Holowaychuk 62a9f398fb wrap color.h 15 years ago
Tj Holowaychuk 13e4ecf68c make g++ stop bitching 15 years ago
Tj Holowaychuk 2f6e63a8e4 Added color.h 15 years ago