Re: using FxParameterSettingAPI
Re: using FxParameterSettingAPI
- Subject: Re: using FxParameterSettingAPI
- From: Paul Schneider <email@hidden>
- Date: Mon, 14 May 2007 11:15:08 -0400
When I use '[FxCustomParameterActionAPI startAction:self]' I receive an error that FxCustomParameterActionAPI was not declared. Should I not be starting the Setting API? Tried that as well and receive the same error. Ideas?
Sorry, I was using shorthand pseudocode. You want to retrieve the FxCustomParameterActionAPI object and call -startAction on that. See this code snippet from the SimpleMatte example:
id actionAPI = [_apiManager apiForProtocol:@protocol(FxCustomParameterActionAPI)]; if ( actionAPI == NULL ) return NULL; [actionAPI startAction:self];
id getAPI = [_apiManager apiForProtocol:@protocol(FxParameterRetrievalAPI)]; if ( getAPI != NULL ) { // Get Point array PointArray *pointArray = NULL; [getAPI getCustomParameterValue:&pointArray fromParm:kPaintParamID]; points = [pointArray points]; } [actionAPI endAction:self];
It doesn't appear that SimplePaint does this, so this might not be required.
- Paul
|
_______________________________________________
Do not post admin requests to the list. They will be ignored.
Pro-apps-dev mailing list (email@hidden)
Help/Unsubscribe/Update your Subscription:
This email sent to email@hidden