Check out "MouseMenuHow2" and the attached patch (I think I
downloaded from QuartzCompositions.com - but I renamed it and can't
remember the original title or author.
It uses number store macros to record mouse click locations and may
hold the key to what you want to do. If you have a billboard at a
know location (in pixels) you could always test for x - y coords
within the ranges of the 'bounds' of the sprite.
It may work.
Regards.
Ian
*******************************
Ian Grant
Lecturer in Digital Art
Faculty of the Arts
Thames Valley University
Ealing, UK
W5 5DX
<email@hidden>
*******************************
On 15 Feb 2007, at 18:21, Eric Blanpied wrote:
Actually, my understanding is that that helps get mouse events from
the app to the comp. I'm looking for a way to do hit-testing in QC,
and know about it in Cocoa so I can do things based on it. My
research seems to tell me I can't do that.
-e
On Feb 15, 2007, at 10:01 am, Troy Koelling wrote:
Especially section 8 where it shows how to pass in the mouse
location in a dictionary to your call to renderAtTime:arguments:
On Feb 14, 2007, at 4:48 PM, Eric Blanpied wrote:
Hi there,
I have an app that uses a QCRenderer to display it's main
interface. Is there any way for my app to get info about mouse
clicks within the comp based on my sprites & billboards?
thanks
-e
_______________________________________________
Do not post admin requests to the list. They will be ignored.
Quartzcomposer-dev mailing list (Quartzcomposer-
email@hidden)
Help/Unsubscribe/Update your Subscription: http://lists.apple.com/mailman/options/quartzcomposer-dev/
email@hidden
This email sent to email@hidden
_______________________________________________
Do not post admin requests to the list. They will be ignored.
Quartzcomposer-dev mailing list (Quartzcomposer-
email@hidden)
Help/Unsubscribe/Update your Subscription: http://lists.apple.com/mailman/options/quartzcomposer-dev/ian.grant%
40mac.com
This email sent to email@hidden
_______________________________________________
Do not post admin requests to the list. They will be ignored.
Quartzcomposer-dev mailing list (email@hidden)
Help/Unsubscribe/Update your Subscription:
http://lists.apple.com/mailman/options/quartzcomposer-dev/email@hidden
This email sent to email@hidden