Rogier
|
326d609675
|
Use strlower() instead of tolower() and strcasecmp() where possible.
|
2016-01-17 10:37:51 +01:00 |
|
Rogier
|
722086781d
|
Allow specifying lighter or darker variants of built-in colors.
|
2015-02-20 13:10:09 +01:00 |
|
Rogier
|
1854ef34e6
|
Recognise some symbolic colors (red, green, blue, yellow, black, white, gr[ae]y, and more)
|
2015-02-20 13:10:09 +01:00 |
|
Rogier
|
71234c3422
|
Fix build for freebsd/clang - fixes #4
|
2014-06-18 14:01:34 +02:00 |
|
Rogier
|
5e4ee45575
|
Move color string parsing to constructor of class Color & add a constructor using an integer
Added formats for Color constructor:
- plain interger (2^24 * alpha + 2^16 * red + 2^8 * green + blue)
- Color string consisting of:
- '#'
- 3, 4, 6 or 8 hex digits
|
2014-05-12 09:26:17 +02:00 |
|