ADC Home > Reference Library > Reference > Apple Applications > Final Cut Pro/Final Cut Express > FxPlug Reference

 


FxOnScreenControl.h

Introduction

Defines the FxOnScreenControl protocol.



Protocols

FxOnScreenControl
Defines the methods a plug-in must implement to create parameter controls.


Enumerations


FxDrawingCoordinates


Constants used to identify coordinate spaces.

enum { 
    kFxDrawingCoordinates_CANVAS = 0, 
    kFxDrawingCoordinates_DOCUMENT = 1, 
    kFxDrawingCoordinates_OBJECT = 2, 
    kFxDrawingCoordinates_OBJECT_CENTERED = 3 
};  
Constants
kFxDrawingCoordinates_CANVAS
Canvas window coordinates.
kFxDrawingCoordinates_DOCUMENT
Movie canvas coordinates.
kFxDrawingCoordinates_OBJECT
Object-specific coordinates (deprecated).
kFxDrawingCoordinates_OBJECT_CENTERED
Object coordinates with origin at center.
Discussion

Y increases upwardly in all these coordinate spaces.


FxModifierKeys


enum { 
    kFxModifierKey_SHIFT = 1 << 0, 
    kFxModifierKey_CONTROL = 1 << 1, 
    kFxModifierKey_OPTION = 1 << 2, 
    kFxModifierKey_COMMAND = 1 << 3, 
    kFxModifierKey_CAPS_LOCK = 1 << 4 
};  
Constants
kFxModifierKey_SHIFT
Left or right Shift key
kFxModifierKey_CONTROL
Left or right Control key
kFxModifierKey_OPTION
Left or right Option key
kFxModifierKey_COMMAND
Command key
kFxModifierKey_CAPS_LOCK
Caps-Lock
Discussion

Flags used to identify modifier keys held down while an event is generated.


Did this document help you?
Yes: Tell us what works for you.
It’s good, but: Report typos, inaccuracies, and so forth.
It wasn’t helpful: Tell us what would have helped.
Last Updated: 2008-06-05