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 |
|