Natron Engine enumerations


#1

I am curious, what are these for?
NatronEngine.Natron.ValueChangedReasonEnum

eValueChangedReasonNatronGuiEdited
eValueChangedReasonNatronInternalEdited
eValueChangedReasonPluginEdited
eValueChangedReasonRestoreDefault
eValueChangedReasonSlaveRefresh
eValueChangedReasonTimeChanged
eValueChangedReasonuserEdited


#2

///This enum is used when dealing with parameters which have their value edited
enum ValueChangedReasonEnum
{
//A user change to the knob triggered the call, gui will not be refreshed but instanceChangedAction called
eValueChangedReasonUserEdited = 0,

//A plugin change triggered the call, gui will be refreshed and instanceChangedAction called. This is stricly reserved
//to calls made directly from an OpenFX plug-in
eValueChangedReasonPluginEdited,

//A time-line seek changed the call, called when timeline time changes
eValueChangedReasonTimeChanged,

//The knob value has been restored to its defaults
eValueChangedReasonRestoreDefault,

};