[Etoys] Tiles for changePixelsOfColor:toColor
doconnel at gmail.com
Mon Jun 30 04:09:14 EDT 2008
Hi Christophe, if you are not actually seeing your new tile then my
best guess without seeing code is that the code has not been executed.
Alternatively, the attached project may give you ideas for a different
On Sun, Jun 29, 2008 at 11:01 PM, Christophe Rhodes <csr21 at cantab.net> wrote:
> [ I'm a novice at Squeak and Etoys, so please forgive me if I get some
> terminology wrong. I hope my basic question will be clear. ]
> My basic question is about how to create new tiles for the Viewer.
> Specifically, I'm interested in having some tiles in the Viewer to
> allow scripts to use changePixelsOfColor:toColor, because I think that
> that would allow for visualization of internal state of a morph
> without having to create one costume for every state. (The use of
> setGraphic: is reasonable for two-state systems, and a bit tedious for
> more complex ones, I think). I also am hoping in the process to learn
> more about how to implement custom viewer tiles and how the system
> hangs together.
> So far, in my attempts to make these tiles appear and work, I've found
> the additionsToViewerCategory* classes and wordingForOperator:
> selector, and added relevant clauses there. I've also found the
> colorComponentPhraseFor: selector, and worried that there are more
> dragons here than I might be able to cope with. I'd very much
> appreciate pointers on how to get started this kind of development, or
> a recipe for performing this kind of extension, or just telling me
> that it's way too hard and that I shouldn't even bother trying.
> Etoys mailing list
> Etoys at lists.laptop.org
-------------- next part --------------
A non-text attachment was scrubbed...
Size: 94071 bytes
Desc: not available
Url : http://lists.squeakland.org/pipermail/etoys-dev/attachments/20080630/947929f2/ColourState.001.bin
More information about the etoys-dev