subtitle: "[Q]how many wheels am i reinventing right now."
Hi List,
I am planning to program a proof of principle for a 2D Point&click advinter a la "Baphomets Fluch"/"Monkey Island"/"Indiana Jones 3/4". As a first step i wrote a sibling to TwoWayScrollPane called PanningView that has no scrollbars but scrolls automatically when the mouse comes near the edges. I made this behavior also accesable to all ScrollPanes by means of the CustomMenu. Please see the attached changset and comment on one or more of the following points: -do i reinvent wheels -does this seem remotely useful -does this file in correctly -does this work in your image -does my solution appeal in any way (i.e. what would you have done better)
Thankful for any feedback. Torge
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".
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 . Perhaps arrow buttons for scroll ? 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
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
squeak-dev@lists.squeakfoundation.org