Main Page | Modules | Class List | File List | Class Members | File Members

ofxInteract.h

Go to the documentation of this file.
00001 #ifndef _ofxInteract_h_
00002 #define _ofxInteract_h_
00003 
00004 #include "ofxCore.h"
00005 
00006 /*
00007 Software License :
00008 
00009 Copyright (c) 2003-2004, The Foundry Visionmongers Ltd. All rights reserved.
00010 
00011 Redistribution and use in source and binary forms, with or without
00012 modification, are permitted provided that the following conditions are met:
00013 
00014     * Redistributions of source code must retain the above copyright notice,
00015       this list of conditions and the following disclaimer.
00016     * Redistributions in binary form must reproduce the above copyright notice,
00017       this list of conditions and the following disclaimer in the documentation
00018       and/or other materials provided with the distribution.
00019     * Neither the name The Foundry Visionmongers Ltd, nor the names of its 
00020       contributors may be used to endorse or promote products derived from this
00021       software without specific prior written permission.
00022 
00023 THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS" AND
00024 ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED
00025 WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE
00026 DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT OWNER OR CONTRIBUTORS BE LIABLE FOR
00027 ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES
00028 (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES;
00029 LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON
00030 ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT
00031 (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS
00032 SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
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

Copyright 2003-2004 The Foundry Visonmongers Ltd. All rights reserved.
Copying and redistribution with or without modification, is permitted provided that the following conditions are met:
  1. Redistributions of the document must retain the above copyright notice and this list of conditions.
  2. Neither the name of The Foundry Visonmongers Ltd nor names of its contributors may be used to endorse or promote products derived from this software without specific prior written permission.
Automatic documentation generated by DOxygen.