|
Mac Dev Center
Mac OS X Reference Library Apple Applications: Final Cut Pro/Final Cut Express FxPlug Reference
|
FxOnScreenControl |
| Declared In: |
Defines the methods a plug-in must implement to create parameter controls.
drawingCoordinates |
Defines the coordinate space for an event.
- (FxDrawingCoordinates)drawingCoordinates;
Returns the appropriate coordinate space.
drawOSC:height:activePart:time: |
Draws a control on an image. This is the main method the host application calls to draw a plug-in parameter control.
- (void)drawOSC:(int)width height:(int)height activePart:(int)activePart time:(double)time;
width height activePart time This method serves two purposes, depending on the render mode, which is
determined like this:
GLint renderMode; glGetIntegerv( GL_RENDER_MODE, &renderMode );
keyDown:positionY:keyPressed:modifiers:forceUpdate:didHandle:time: |
Provides information when a key is pressed.
- (void)keyDown:(double)mousePositionX positionY:(double)mousePositionY keyPressed:(unsigned short)asciiKey modifiers:(FxModifierKeys)modifiers forceUpdate:(BOOL *)forceUpdate didHandle:(BOOL *)didHandle time:(double)time;
mousePositionX mousePositionY asciiKey modifiers forceUpdate didHandle time Depending on the host application, the time value may be relative to the start of the timeline or to the start of the clip. See the header file FxPlug/FxHostCapabilities.h.
keyUp:positionY:keyPressed:modifiers:forceUpdate:didHandle:time: |
Provides information when a key is released.
- (void)keyUp:(double)mousePositionX positionY:(double)mousePositionY keyPressed:(unsigned short)asciiKey modifiers:(FxModifierKeys)modifiers forceUpdate:(BOOL *)forceUpdate didHandle:(BOOL *)didHandle time:(double)time;
mousePositionX mousePositionY asciiKey modifiers forceUpdate didHandle time Depending on the host application, the time value may be relative to the start of the timeline or to the start of the clip. See the header file FxPlug/FxHostCapabilities.h.
mouseDown:positionY:activePart:modifiers:forceUpdate:time: |
Provides information when the left mouse button is pressed and the pointer is on an image with an active plug-in control.
- (void)mouseDown:(double)mousePositionX positionY:(double)mousePositionY activePart:(int)activePart modifiers:(FxModifierKeys)modifiers forceUpdate:(BOOL *)forceUpdate time:(double)time;
mousePositionX mousePositionY activePart modifiers forceUpdate time Depending on the host application, the time value may be relative to the start of the timeline or to the start of the clip. See the header file FxPlug/FxHostCapabilities.h.
mouseDragged:positionY:activePart:modifiers:forceUpdate:time: |
Provides information when the left mouse button is pressed and the the pointer is moved with the mouse button still down.
- (void)mouseDragged:(double)mousePositionX positionY:(double)mousePositionY activePart:(int)activePart modifiers:(FxModifierKeys)modifiers forceUpdate:(BOOL *)forceUpdate time:(double)time;
mousePositionX mousePositionY activePart modifiers forceUpdate time Depending on the host application, the time value may be relative to the start of the timeline or to the start of the clip. See the header flle FxPlug/FxHostCapabilities.h.
mouseUp:positionY:activePart:modifiers:forceUpdate:time: |
Provides information when the left mouse button is released.
- (void)mouseUp:(double)mousePositionX positionY:(double)mousePositionY activePart:(int)activePart modifiers:(FxModifierKeys)modifiers forceUpdate:(BOOL *)forceUpdate time:(double)time;
mousePositionX mousePositionY activePart modifiers forceUpdate time Depending on the host application, the time value may be relative to the start of the timeline or to the start of the clip. See the header file FxPlug/FxHostCapabilities.h.
Last Updated: 2009-04-14