Out of curiosity, is that from an input port from a plugin, or an
input splitter ? I know from the API, you specify default keys for
your plugin, but it would not surprise me if the input splitter did
away with that data.. ? just a guess...
On Mar 23, 2009, at 2:54 AM, Christopher Wright wrote:
Why use the QCCompositionParameterView Delegate for that when you
can inspect the ports directly from and instantiated QCRenderer/
QCCompositionRenderer by grabbing the attributes dictionary and
looking for the QCPortAttributeTypeKey,
QCPortAttributeMinimumValueKey and QCPortAttributeMaximumValueKey
key?
The keys are the same either way -- you're right though, using the
raw QCRenderer would be simpler, and appears to all be documented.
I hadn't looked much at QCCompositionRenderer to see that yet.
However, "QCPortAttributeDefaultValueKey" doesn't seem to be set in
any of my renderers -- I'm assuming that that would be set to
whatever the keyed-in value when saving the composition, but this is
what I get:
\
limited_Input is set to 22, and labeled_input is set to "bob" in the
composition, but that isn't reflected here (or in the parameters
view, which is just a rehash of this data, as you've demonstrated :)
--
[ christopher wright ]
[email protected]
http://kineme.net/
_______________________________________________
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]