[squeak-dev] How to Drag the Scenery
Derek O'Connell
doconnel at gmail.com
Mon Dec 8 23:01:59 UTC 2008
ScreeningMorph may be a basic starting point. See here for simple
example: http://www.squeakcmi.org/library.php?sl=487
On 12/8/08, Jim Rosenberg <jr at amanue.com> wrote:
> I would like to implement a kind of portal class where the portal is a
> viewer into a PasteUpMorph which is possibly much larger than the portal.
> The PasteUpMorph is a submorph of the portal (and the portal itself is
> likely a subclass of PasteUpMorph). The portal will have "active borders" a
> few pixels wide. The behavior I want to implement will work like this:
>
> If a drag is started from inside the border, it drags the underlying
> PasteUpMorph with it.
>
> I need some suggestions of code to read as an example of how to do this.
>
> -Thanks in advance, Jim
>
>
More information about the Squeak-dev
mailing list
|