TuttleOFX
1
|
![]() |
Defines | |
#define | kOfxInteractPropSlaveToParam "OfxInteractPropSlaveToParam" |
The set of parameters on which a value change will trigger a redraw for an interact. | |
#define | kOfxInteractPropPixelScale "OfxInteractPropPixelScale" |
The size of a real screen pixel under the interact's cannonical projection. | |
#define | kOfxInteractPropViewportSize "OfxInteractPropViewport" |
The size of an interact's openGL viewport. | |
#define | kOfxInteractPropBackgroundColour "OfxInteractPropBackgroundColour" |
The background colour of the application behind an interact instance. | |
#define | kOfxInteractPropSuggestedColour "OfxInteractPropSuggestedColour" |
The suggested colour to draw a widget in an interact, typically for overlays. | |
#define | kOfxInteractPropPenPosition "OfxInteractPropPenPosition" |
The position of the pen in an interact. | |
#define | kOfxInteractPropPenViewportPosition "OfxInteractPropPenViewportPosition" |
The position of the pen in an interact in viewport coordinates. | |
#define | kOfxInteractPropPenPressure "OfxInteractPropPenPressure" |
The pressure of the pen in an interact. | |
#define | kOfxInteractPropBitDepth "OfxInteractPropBitDepth" |
Indicates whether the dits per component in the interact's openGL frame buffer. | |
#define | kOfxInteractPropHasAlpha "OfxInteractPropHasAlpha" |
Indicates whether the interact's frame buffer has an alpha component or not. |
These are the list of properties used by the Interact API documented in CustomInteractionPage.
#define kOfxInteractPropBackgroundColour "OfxInteractPropBackgroundColour" |
The background colour of the application behind an interact instance.
The components are in the order red, green then blue.
Definition at line 101 of file ofxInteract.h.
Referenced by OFX::getBackgroundColour(), and tuttle::host::ofx::interact::OfxhInteract::initArgProp().
#define kOfxInteractPropBitDepth "OfxInteractPropBitDepth" |
Indicates whether the dits per component in the interact's openGL frame buffer.
Definition at line 152 of file ofxInteract.h.
Referenced by tuttle::host::ofx::interact::OfxhInteractDescriptor::describe(), and OFX::Interact::getBitDepth().
#define kOfxInteractPropHasAlpha "OfxInteractPropHasAlpha" |
Indicates whether the interact's frame buffer has an alpha component or not.
Definition at line 162 of file ofxInteract.h.
Referenced by tuttle::host::ofx::interact::OfxhInteractDescriptor::describe(), and OFX::Interact::hasAlpha().
#define kOfxInteractPropPenPosition "OfxInteractPropPenPosition" |
The position of the pen in an interact.
This value passes the postion of the pen into an interact. This is in the interact's canonical coordinates.
Definition at line 125 of file ofxInteract.h.
Referenced by OFX::PenArgs::PenArgs(), and tuttle::host::ofx::interact::OfxhInteract::setPenArgProps().
#define kOfxInteractPropPenPressure "OfxInteractPropPenPressure" |
The pressure of the pen in an interact.
This is used to indicate the status of the 'pen' in an interact. If a pen has only two states (eg: a mouse button), these should map to 0.0 and 1.0.
Definition at line 144 of file ofxInteract.h.
Referenced by OFX::PenArgs::PenArgs(), and tuttle::host::ofx::interact::OfxhInteract::setPenArgProps().
#define kOfxInteractPropPenViewportPosition "OfxInteractPropPenViewportPosition" |
The position of the pen in an interact in viewport coordinates.
This value passes the postion of the pen into an interact. This is in the interact's openGL viewport coordinates, with 0,0 being at the bottom left.
Definition at line 134 of file ofxInteract.h.
Referenced by tuttle::host::ofx::interact::OfxhInteract::setPenArgProps().
#define kOfxInteractPropPixelScale "OfxInteractPropPixelScale" |
The size of a real screen pixel under the interact's cannonical projection.
Definition at line 81 of file ofxInteract.h.
Referenced by OFX::getPixelScale(), OFX::Interact::getPixelScale(), and tuttle::host::ofx::interact::OfxhInteract::initArgProp().
#define kOfxInteractPropSlaveToParam "OfxInteractPropSlaveToParam" |
The set of parameters on which a value change will trigger a redraw for an interact.
If the interact is representing the state of some set of OFX parameters, then is will need to be redrawn if any of those parameters' values change. This multi-dimensional property links such parameters to the interact.
The interact can be slaved to multiple parameters (setting index 0, then index 1 etc...)
Definition at line 73 of file ofxInteract.h.
Referenced by OFX::Interact::addParamToSlaveTo(), tuttle::host::ofx::interact::OfxhInteract::getSlaveToParam(), and OFX::Interact::removeParamToSlaveTo().
#define kOfxInteractPropSuggestedColour "OfxInteractPropSuggestedColour" |
The suggested colour to draw a widget in an interact, typically for overlays.
Some applications allow the user to specify colours of any overlay via a colour picker, this property represents the value of that colour. Plugins are at liberty to use this or not when they draw an overlay.
If a host does not support such a colour, it should return kOfxStatReplyDefault
Definition at line 116 of file ofxInteract.h.
#define kOfxInteractPropViewportSize "OfxInteractPropViewport" |
The size of an interact's openGL viewport.
This property is the redundant and its use will be deprecated in future releases.
Definition at line 90 of file ofxInteract.h.
Referenced by tuttle::host::ofx::interact::OfxhInteract::initArgProp().