Norman Feske 40c9226bb9 os: add Color::print, enhance ascii_to<Color>
This patch adds a 'Color::print' method as counterpart to the 'ascii_to'
function. If the color is opaque (alpha is 255), its output has the form
"#rrggbb". If the color has a distinct alpha value, the output has the
form "#rrggbbaa". The new version of the 'ascii_to' overload for 'Color'
is able to deal with both forms.
2017-11-30 11:23:14 +01:00
..
2017-05-31 13:16:07 +02:00
2017-03-24 16:19:56 +01:00
2017-05-31 13:16:21 +02:00
2017-05-31 13:16:07 +02:00
2017-05-31 13:16:07 +02:00
2017-06-19 12:35:57 +02:00
2017-05-31 13:16:21 +02:00
2017-11-30 11:23:10 +01:00