[squeak-dev] Getting events to 'buried' Morphs

Bert Freudenberg bert at freudenbergs.de
Tue Oct 28 19:59:27 UTC 2014


On 28.10.2014, at 14:32, tim Rowledge <tim at rowledge.org> wrote:

> Here’s a fun problem.
> 
> In the Ancient Days of say 2002-ish when electricity came in little bags delivered to your door by Gnomes, you could add a BorderedMorph in front of another morph, completely overlaying it, and still get the events in the underlying morph. This is being used in old Scratch code to put a warning rectangle around a block. Do that in the current morphic world and no events get to the underlying morph. That’s a bit of a problem in some cases.
> 
> Are there any already provided ways to get around this? I’ve considered making the border out of four separate morphs, maybe a subclass of BorderedMorph that somehow doesn’t block events, but it seems like something somebody else might have battled before.

Lock it.

- Bert -



-------------- next part --------------
A non-text attachment was scrubbed...
Name: smime.p7s
Type: application/pkcs7-signature
Size: 4142 bytes
Desc: not available
Url : http://lists.squeakfoundation.org/pipermail/squeak-dev/attachments/20141028/75f964ac/smime.bin


More information about the Squeak-dev mailing list