00001 #ifndef _ofxInteract_h_
00002 #define _ofxInteract_h_
00003
00004 #include "ofxCore.h"
00005
00006
00007
00008
00009
00010
00011
00012
00013
00014
00015
00016
00017
00018
00019
00020
00021
00022
00023
00024
00025
00026
00027
00028
00029
00030
00031
00032
00033
00034
00035
00036 #ifdef __cplusplus
00037 extern "C" {
00038 #endif
00039
00044 #define kOfxInteractSuite "OfxInteractSuite"
00045
00046
00049 typedef struct OfxInteract *OfxInteractHandle;
00050
00074 #define kOfxInteractPropSlaveToParam "OfxInteractPropSlaveToParam"
00075
00082 #define kOfxInteractPropPixelScale "OfxInteractPropPixelScale"
00083
00091 #define kOfxInteractPropViewportSize "OfxInteractPropViewport"
00092
00102 #define kOfxInteractPropBackgroundColour "OfxInteractPropBackgroundColour"
00103
00111 #define kOfxInteractPropPenPosition "OfxInteractPropPenPosition"
00112
00121 #define kOfxInteractPropPenPressure "OfxInteractPropPenPressure"
00122
00129 #define kOfxInteractPropBitDepth "OfxInteractPropBitDepth"
00130
00139 #define kOfxInteractPropHasAlpha "OfxInteractPropHasAlpha"
00140
00143
00154
00156 #define kOfxInteractActionDraw "OfxInteractActionDraw"
00157
00160 #define kOfxInteractActionPenMotion "OfxInteractActionPenMotion"
00161
00164 #define kOfxInteractActionPenDown "OfxInteractActionPenDown"
00165
00168 #define kOfxInteractActionPenUp "OfxInteractActionPenUp"
00169
00172 #define kOfxInteractActionKeyDown "OfxInteractActionKeyDown"
00173
00177 #define kOfxInteractActionKeyUp "OfxInteractActionKeyUp"
00178
00182 #define kOfxInteractActionKeyRepeat "OfxInteractActionKeyRepeat"
00183
00186 #define kOfxInteractActionGainFocus "OfxInteractActionGainFocus"
00187
00190 #define kOfxInteractActionLoseFocus "OfxInteractActionLoseFocus"
00191
00194
00198 typedef struct OfxInteractSuiteV1 {
00200 OfxStatus (*interactSwapBuffers)(OfxInteractHandle interactInstance);
00201
00203 OfxStatus (*interactRedraw)(OfxInteractHandle interactInstance);
00204
00206 OfxStatus (*interactGetPropertySet)(OfxInteractHandle interactInstance,
00207 OfxPropertySetHandle *property);
00208 } OfxInteractSuiteV1;
00209
00210 #ifdef __cplusplus
00211 }
00212 #endif
00213
00214 #endif