[ENH] ColorEnh-st

sam at rfc1149.net sam at rfc1149.net
Mon Sep 27 11:49:24 UTC 2004


"Change Set:		ColorEnh-st
Date:			27 September 2004
Author:			Samuel Tardieu

Color tests were failing: the hex triplet was returned in lower case
instead of the expected upper case (test fixed).

Also, asHTMLColor returned a string of length 8 by using directly the
hex value which encodes a color between 0 and 1023 instead of the
expected 0 and 255. The asHTMLColor method has been fixed and tests
added.

The colorFrom: class method has been enhanced to accept a 6 characters
long hexadecimal string."
-------------- next part --------------
A non-text attachment was scrubbed...
Name: ColorEnh-st.cs.gz
Type: application/octet-stream
Size: 1208 bytes
Desc: not available
Url : http://lists.squeakfoundation.org/pipermail/squeak-dev/attachments/20040927/3652a919/ColorEnh-st.cs.obj


More information about the Squeak-dev mailing list