Mailing Lists: Apple Mailing Lists

Image of Mac OS face in stamp
 
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: interface builder: binding button state to composition




On 30 Jan 2006, at 20:47, michael markert wrote:


ok, sorry, I haven't read properly -

you want that the state is being transmitted on mouseDown _and_ on mouseUp,
so you want: on mouseDown send true, on mouseUp send false...


hm, you could achieve this easily with some code, but I can't also see how this would be possible without code in interfaceBuilder...

you need an element which sends "continuously"; a workaround would be a slider... not nice but it can be achived

thanks for that.....

yes I can see I have to bite the bullet and actually learn some objective c now :)

the slider option doesn't work....

what I want to make is buttons that "on mouseDown" enable quartz composer macros and disable them on mouse up.

this lets you "jam" to enable and disable parts of a composition in time to the music when performing
(especially since buttons can be linked to key presses)


but there is no standard IB controller that allows this....

so I think the solution is as you say to create a custom controller which means some objective c.

thanks for your help

Roger
_______________________________________________
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
References: 
 >Re: interface builder: binding button state to composition (From: michael markert <email@hidden>)



Visit the Apple Store online or at retail locations.
1-800-MY-APPLE

Contact Apple | Terms of Use | Privacy Policy

Copyright © 2007 Apple Inc. All rights reserved.