[Enh]Auto Scroll

Torge Husfeldt squeak-dev at lists.squeakfoundation.org
Tue Oct 1 12:14:58 UTC 2002


Hi Edgar,

Thanks for your support. That said, i'm not so convinced about my
little enh, because it is sooo damn slooowwww.

"Lic. Edgar J. De Cleene" wrote:
> 
> > Torge
> 
> I vote for you code at Big Enhancement Widget Awards!!!
> 
> I'm a amateur game builder and long time wish something like this.
> 
> If you some day are tired of a normal life and seek for a adventure  could
> come to Rosario, Argentina and we offer unique special Argentine meal
> "asadp".
Will do...
> 
> I could use your code in SqueakRailRoad (in building phase) with special
> mention , next to Ned , John , Goran , Diego and Germán.
> 
> Two issues: I think what the user could decide the size of panel .
I don't quite understand what you mean with the panel? Is it the sensitive
area? If so, the user can already customize it with the new entries in the custom-menu
of the ScrollRegionMorph.
To see it do the following:
- yellow-click on the Morph that has autoScroll enabled until you see ScrollRegion as the active Morph
-click on the Menu halo-icon (the red one) 
-look at the bottom for:
*set inset percentage: sets the inset of the passive region bigger numbers make for a bigger active region. When called on the command line you can provide Points or even Rectangles.
*set scrol factor: the amount to scroll is derived from the distance of the hand from the passive region. here you can set a constant factor.
*set step delay: in miliseconds. the smaller it is the more often will be scrolled (also affects scrolling speed)
> Perhaps arrow buttons for scroll ?
Shouldn't be too hard but sounds like a quite different project.
> I test on iMac with OS 9.1.
> 
> Edgar
> 
> Ahora podés usar Yahoo! Messenger desde tu celular. Aprendé cómo hacerlo en Yahoo! Móvil: http://ar.mobile.yahoo.com/sms.html



More information about the Squeak-dev mailing list