• Open Menu Close Menu
  • Apple
  • Shopping Bag
  • Apple
  • Mac
  • iPad
  • iPhone
  • Watch
  • TV
  • Music
  • Support
  • Search apple.com
  • Shopping Bag

Lists

Open Menu Close Menu
  • Terms and Conditions
  • Lists hosted on this site
  • Email the Postmaster
  • Tips for posting to public mailing lists
Re: Forcing redraw on custom param pushbutton in FCP FxPlug plug-in whenever the frame is changed
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Forcing redraw on custom param pushbutton in FCP FxPlug plug-in whenever the frame is changed


  • Subject: Re: Forcing redraw on custom param pushbutton in FCP FxPlug plug-in whenever the frame is changed
  • From: Darrin Cardani <email@hidden>
  • Date: Mon, 12 Nov 2007 09:00:46 -0800


On Nov 12, 2007, at 8:46 AM, Benjamin Kent wrote:

I have a custom param which is masquerading as an animatable bool toggle - i.e. the param is a toggle push button and it's value is changed when my plug-in is rendered such that it reflects the value of an internal data structure cached in the plug-in. This works fine, except that if the frame is cached, the push button doesn't get updated. For example, the default value of the push button is checked - the user unchecks it and it sets a keyframe of value 0 in the internal data structure. The user goes to the next frame and the push button returns to checked (as the internal data structure value at this frame is still 1). Then, if you go back to the previous frame, the push button stays checked, as the plug-in never renders and sets the value of the push button.

Now I realise I don't want to stop the caching, as a user would never be able to render and play a sequence - so is it possible to force the push button to have its drawRect function called whenever the frame is changed - that way I could query the plug-in at this point as to the value of the internal data structure?

Ben,
My first question would be, "Why do you want to do this?" I don't understand what you're trying to accomplish, but what you've described seems incredibly arcane and user unfriendly. Maybe if you describe in more detail what you're trying to do we can give you a better answer.

Thanks,
Darrin
--
Darrin Cardani
email@hidden


 _______________________________________________
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

  • Follow-Ups:
    • Re: Forcing redraw on custom param pushbutton in FCP FxPlug plug-in whenever the frame is changed
      • From: Benjamin Kent <email@hidden>
References: 
 >Forcing redraw on custom param pushbutton in FCP FxPlug plug-in whenever the frame is changed (From: Benjamin Kent <email@hidden>)

  • Prev by Date: Forcing redraw on custom param pushbutton in FCP FxPlug plug-in whenever the frame is changed
  • Next by Date: Re: Forcing redraw on custom param pushbutton in FCP FxPlug plug-in whenever the frame is changed
  • Previous by thread: Forcing redraw on custom param pushbutton in FCP FxPlug plug-in whenever the frame is changed
  • Next by thread: Re: Forcing redraw on custom param pushbutton in FCP FxPlug plug-in whenever the frame is changed
  • Index(es):
    • Date
    • Thread