On Dec 13, 2007, at 2:49 PM, [EMAIL PROTECTED] wrote:
I have an enhanced version of the LFO patch working in both
javascript and as a custom (i.e. xcode) patch on Leopard.
Questions on the custom patch version:
1) How do I add the description text? (The text that pops up when
you mouse over the patch in a composition).
In the +attributes class method you return a dictionary with the info
for the patch where the Title is the value for the
QCPlugInAttributeNameKey and the Description is the value for the
QCPlugInAttributeDescriptionKey. Also available is the
QCPlugInAttributeCopyrightKey.
2) How can I change the UI for the input params to match what is in
the original LFO patch.
The input parameters are generally defined by the names of the
variables, i.e. if you create a parameter called inputFoo you will
have an input named inputFoo. You may change the display name of these
by returning a dictionary from the +attributesForPropertyPortWithKey
class method.
Specifically, I want to use a slider for the pwm param and the pull-
down menu for LFO type.
I can follow the tutorial example easily enough for the settings
pane, but there is no discussion of the input params pane. I assume
there is some function that must be overridden.(?) How would I get
the name of that func?
There is not currently a way to do these things. File a bug if you
would use that feature.
There are lots of examples with the developer tools.
_______________________________________________
Do not post admin requests to the list. They will be ignored.
Quartzcomposer-dev mailing list ([email protected])
Help/Unsubscribe/Update your Subscription:
http://lists.apple.com/mailman/options/quartzcomposer-dev/archive%40mail-archive.com
This email sent to [EMAIL PROTECTED]