Scrolling and multiTouch

Thomas McGrath III mcgrath3 at mac.com
Sun Jan 22 13:46:16 EST 2012


Mike,

Take a look at the scrolling a group lesson online: -- http://lessons.runrev.com/s/lessons/m/4071/l/44421-How-to-create-a-scrolling-group-using-the-improved-graphics-architecture


And then take a look at the pinch lesson online: -- http://lessons.runrev.com/s/lessons/m/4069/l/11509-how-do-i-implement-a-multi-touch-pinch-motion

HTHs


-- Tom McGrath III
http://lazyriver.on-rev.com
3mcgrath at comcast.net

On Jan 22, 2012, at 8:16 AM, Michael Doub wrote:

> I am trying to understand how multitouch scrolling and selection work together.   Here is the problem I am trying to solve:
> 
> 1) the user takes a picture where the picture is larger than the screen.
> 2) the user needs to both scroll the picture and resize it with pinch to zoom
> 3) once the correct part of the image is in the screen, a selection needs to be made to capture the 
> color of a specific part of the image.
> 4) then match this color to a non-rgb color pallet
> 
> 
> Well I have the number 1 and 4 parts of the app working.  Does anyone have an example of how to 
> manage scrolling and pinch to zoom?
> 
> I don't know how to do this yet but I am thinking that I need to set up the scroller to match the image after the picture is taken then when
> a multitouch is detected disable the scroller, then resize the image and then reinitialize the scroller.  I am not sure
> how to go about getting into "Selection" mode.   I would like to avoid having a special mode, but don't
> have any ideas how to separate selection from scrolling.
> 
> Any examples or advise would be welcome.
> 
> Regards,
>   Mike
> 
> 
> 
> _______________________________________________
> use-livecode mailing list
> use-livecode at lists.runrev.com
> Please visit this url to subscribe, unsubscribe and manage your subscription preferences:
> http://lists.runrev.com/mailman/listinfo/use-livecode





More information about the use-livecode mailing list