[Cuis-dev] Color names.
ken.dickey at whidbey.com
ken.dickey at whidbey.com
Wed Mar 8 06:44:33 PST 2023
Ah. Yes. Refactored.
Check the README.md in
Cuis-Smalltalk-Dev/Packages/Features/NamedColors/
You have a choice of several Color-Name Dictionaries -- or you can make
your own.
If you invoke (for example)
Feature require: #'XKCD-NamedColors.pck.st'.
You will see that the named color packages each require the
'Color-Extras' package, which implements the name lookup mechanics.
We should update the Color Class Comment.
Thanks for spotting this!
-KenD
On 2023-03-08 06:03, Alexandre Rousseau via Cuis-dev wrote:
> Hi. The Color class comment states that it (the class) understands the
> message "names", yet, in my version of CUIS (5608) it does not.
>
> Am I missing something or has this been removed from the more recent
> builds?
>
> Context : to learn Morphic, I was thinking of building a scrolling list
> of named colors and their visual representations, and documenting that
> for the Cookbook if that can be of use.
>
> Thanks
> Alex
More information about the Cuis-dev
mailing list