TuttleOFX  1
fnPublicOfxExtensions.h
Go to the documentation of this file.
00001 //------------------------------------------------------------------------------
00002 // Apps/Nuke/nuke/src/fnPublicOfxExtensions.h
00003 //
00004 // Copyright (c) 2009 The Foundry Visionmongers Ltd.  All Rights Reserved.
00005 //------------------------------------------------------------------------------
00006 
00007 #ifndef _fnPublicOfxExtensions_h_
00008 #define _fnPublicOfxExtensions_h_
00009 
00010 /*
00011    Software License :
00012 
00013    Copyright (c) 2009, The Foundry Visionmongers Ltd. All rights reserved.
00014 
00015    Redistribution and use in source and binary forms, with or without
00016    modification, are permitted provided that the following conditions are met:
00017 
00018  * Redistributions of source code must retain the above copyright notice,
00019       this list of conditions and the following disclaimer.
00020  * Redistributions in binary form must reproduce the above copyright notice,
00021       this list of conditions and the following disclaimer in the documentation
00022       and/or other materials provided with the distribution.
00023  * Neither the name The Foundry Visionmongers Ltd, nor the names of its
00024       contributors may be used to endorse or promote products derived from this
00025       software without specific prior written permission.
00026 
00027    THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS" AND
00028    ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED
00029    WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE
00030    DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT OWNER OR CONTRIBUTORS BE LIABLE FOR
00031    ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES
00032    (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES;
00033    LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON
00034    ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT
00035    (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS
00036    SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
00037  */
00038 
00039 #include "ofxImageEffect.h"
00040 
00041 /** @brief Layout hint for hierarchical layouts
00042 
00043     - Type - int X 1
00044     - Property Set - plugin parameter descriptor (read/write) and instance (read only)
00045     - Default - 0
00046     - Valid Values - 0,1 or 2
00047         0 - for a new line after the parameter
00048         1 - for a seperator between this parameter and the one to follow
00049         2 - for no new line, continue the next parameter on the same horizontal level
00050 
00051    This is a property on parameters of type ::kOfxParamPropLayoutHint, and tells the group whether it should be open or closed by default.
00052 
00053  */
00054 #define kOfxParamPropLayoutHint "OfxParamPropLayoutHint"
00055 
00056 //   lay out as normal
00057 #define kOfxParamPropLayoutHintNormal 0
00058 
00059 //   put a divider after parameter
00060 #define kOfxParamPropLayoutHintDivider 1
00061 
00062 //   have the next parameter start on the same line as this
00063 #define kOfxParamPropLayoutHintNoNewLine 2
00064 
00065 /** @brief Layout padding for hierarchical views, only pertinent with kOfxParamPropLayoutHint==2
00066 
00067     - Type - int X 1
00068     - Property Set - plugin parameter descriptor (read/write) and instance (read only)
00069     - Default - 0
00070     - Valid Values - any positive integer value
00071 
00072    This is a property on parameters of type ::kOfxParamPropLayoutPadWidth
00073    It tells the host how much space (in pixels) to leave between the current parameter and the next parameter in horizontal layouts.
00074  */
00075 #define kOfxParamPropLayoutPadWidth "OfxParamPropLayoutPadWidth"
00076 
00077 /** @brief The suggested colour of an overlay colour in an interact.
00078 
00079     - Type - double X 3
00080     - Property Set - plugin parameter descriptor (read/write) and instance (read only)
00081     - Default - 1.0
00082     - Valid Values - greater than or equal to 0.0
00083 
00084    This is a property of an overlay interact instance.
00085  */
00086 #define kOfxPropOverlayColour "OfxPropOverlayColour"
00087 
00088 /** @brief Unique user readable version string for that identifies something from other versions
00089 
00090     - Type - string X 1
00091     - Property Set - host descriptor (read only), plugin descriptor (read/write)
00092     - Default - none, the host needs to set this
00093     - Valid Values - ASCII string
00094  */
00095 #define kOfxPropVersionLabel "OfxPropVersionLabel"
00096 
00097 /** @brief The displayed named of the host
00098 
00099     - Type - string X 1
00100     - Property Set - host descriptor (read only), plugin descriptor (read/write)
00101     - Default - none
00102     - Valid Values - ASCII string
00103  */
00104 #define kOfxPropHostProductTitle "OfxPropHostProductTitle"
00105 
00106 /** @brief The major version of the host
00107 
00108     - Type - int X 1
00109     - Property Set - param set instance (read/write)
00110     - Default - none
00111     - Valid Values - any positive integer values
00112  */
00113 #define kOfxPropHostMajorVersion "OfxPropHostMajorVersion"
00114 
00115 /** @brief The minor version of the host
00116 
00117     - Type - int X 1
00118     - Property Set - param set instance (read/write)
00119     - Default - none
00120     - Valid Values - any positive integer values
00121  */
00122 #define kOfxPropHostMinorVersion "OfxPropHostMinorVersion"
00123 
00124 /** @brief The build version of the host
00125 
00126     - Type - string X 1
00127     - Property Set - host descriptor (read only), plugin descriptor (read/write)
00128     - Default - none
00129     - Valid Values - ASCII string
00130  */
00131 #define kOfxPropHostBuildVersion "OfxPropHostBuildVersion"
00132 
00133 /** @brief Whether to display a group as a tab
00134 
00135     - Type - int X 1
00136     - Property Set - plugin parameter descriptor (read/write) and instance (read only)
00137     - Default - 0
00138     - Valid Values - 0 or 1
00139  */
00140 #define kFnOfxParamPropGroupIsTab "FnOfxParamPropGroupIsTab"
00141 
00142 
00143 #endif