Haha ok :) So I will go that way !
2011/7/14 Tudor Girba <tudor(a)tudorgirba.com>
Hi Cyrille,
I saw that you added a GLMColor to provide an abstract representation of a
Color both for Morphic and for CSS. It's good that you are tackling this
problem, but this is not the way to go.
The problem is that it is confusing to have to provide a new GLMColor class
for every special color. Color is already a full and quite powerful
description of a color.
What we need is a convertor. There already are a few:
- Color>>printHtmlString (in the base image)
- Color>>asJavascript (in the Seaside image)
The only thing that is currently missing is a proper translation of "Color
transparent", but this can be done easily in a Color>>glmAsHtmlColor.
Cheers,
Doru
--
www.tudorgirba.com
"Not knowing how to do something is not an argument for how it cannot be
done."
_______________________________________________
Moose-dev mailing list
Moose-dev(a)iam.unibe.ch
https://www.iam.unibe.ch/mailman/listinfo/moose-dev