fbcontrols/fbtool.h Source File
Go to the documentation of this file.
48 #define FBSDK_DLL K_DLLIMPORT
53 #ifdef FBSDKUseNamespace
66 #define FBRegisterTool( ClassName, Label, Description, IconFilename ) \
67 static HIObject RegisterTool##ClassName( HIObject pOwner,const char* pName,void * pData) \
69 ClassName *Class = new ClassName( Label ); \
70 Class->mAllocated = true; \
71 if( Class->FBCreate() ) {\
72 return Class->GetHIObject(); \
78 FBLibraryModule( ClassName ) \
80 FBRegisterObject( ClassName,"UI/Tools",Label,Description,RegisterTool##ClassName, false, IconFilename );\
87 #define FBToolDeclare( ClassName,Parent ) \
88 FBClassDeclare( ClassName,Parent ); \
90 ClassName(const char *pName=NULL):Parent(pName) { FBClassInit; } \
96 #define FBToolImplementation( ThisComponent ) \
97 FBClassImplementation( ThisComponent )
112 class FBSDK_DLL FBTool :
public FBLayout {
118 FBTool(
const char* pName =
NULL);
124 FBTool(
const char* pName,
bool pRegisterTool);
129 virtual void Destroy(
int pIsLocal);
135 virtual bool FbxStore ( FBFbxObject* pFbxObject,
kFbxObjectStore pStoreWhat );
136 virtual bool FbxRetrieve ( FBFbxObject* pFbxObject,
kFbxObjectStore pStoreWhat );
155 FBPropertyString
Name;
186 FBSDK_DLL bool FBCloseToolByName(
const char* pToolName );
192 FBSDK_DLL bool FBCloseTool( FBTool* pTool );
197 FBSDK_DLL void FBDestroyToolByName(
const char* pToolName );
202 FBSDK_DLL void FBDestroyTool( FBTool* pTool );
260 #ifdef FBSDKUseNamespace
#define __FBClassDeclare(Name, Parent)
For internal use only.
class __attribute__((visibility("default"))) FBTool bool pSetFocus
class FBPropertyBase< int, kFBPT_int > FBPropertyInt
Property: int
FBToolPossibleDockPosition
#define Name(a0, a1, a2, a3, a4)
Contains the user interface components for the SDK.
kFbxObjectStore
Description of the different store/retrieve passes of the FBX format.
#define __FB_FORWARD(ClassName)
Forwarding of class and typedef declaration.
#define FBSDKNamespace
FBSDKNamespace define.
#define FB_FORWARD(ClassName)
Forwarding of class and typedef declaration.
#define IQuery_Declare(IsPure)