This reference page is linked to from the following overview topics: Tools.
Classes |
|
class | FBTool |
Tool class. More... |
|
Defines |
|
#define | FBSDK_DLL K_DLLIMPORT |
Be sure that FBSDK_DLL is defined only
once... |
|
#define | FBRegisterTool(ClassName, Label, Description, IconFilename) |
Register a tool. |
|
#define | FBToolDeclare(ClassName, Parent) |
Tool class declaration. |
|
#define | FBToolImplementation(ThisComponent) FBClassImplementation( ThisComponent ) |
Tool class implementation. |
|
Enumerations |
|
enum | FBToolPossibleDockPosition
{ kFBToolPossibleDockPosNone = 0, kFBToolPossibleDockPosTop = (1 << 0), kFBToolPossibleDockPosLeft = (1 << 1), kFBToolPossibleDockPosRight = (1 << 2), kFBToolPossibleDockPosBottom = (1 << 3) } |
Functions |
|
FB_FORWARD (FBFbxObject) | |
__FB_FORWARD (FBTool) |
#define FBSDK_DLL K_DLLIMPORT |
Be sure that FBSDK_DLL is defined only once...
#define FBRegisterTool | ( | ClassName, | |
Label, | |||
Description, | |||
IconFilename | |||
) |
static HIObject RegisterTool##ClassName( HIObject pOwner,const char* pName,void * pData) \ {\ ClassName *Class = new ClassName( Label ); \ if( Class->FBCreate() ) {\ return Class->GetHIObject(); \ } else { \ delete Class; \ return NULL; \ } \ } \ FBLibraryModule( ClassName ) \ { \ FBRegisterObject( ClassName,"UI/Tools",Label,Description,RegisterTool##ClassName, false, IconFilename );\ }
Register a tool.
ClassName | Name of tool class to register. |
Label | Short description of tool. |
Description | Long description of tool. |
IconFilename | Filename of associated icon. |
#define FBToolDeclare | ( | ClassName, | |
Parent | |||
) |
FBClassDeclare( ClassName,Parent ); \ public: \ ClassName(const char *pName=NULL):Parent(pName) { FBClassInit; } \ private:
Tool class declaration.
ClassName | Name of tool class to declare. |
Parent | Name of tool class parent class. |
#define FBToolImplementation | ( | ThisComponent | ) | FBClassImplementation( ThisComponent ) |
Tool class implementation.
ThisComponent | Tool class to implement. |
kFBToolPossibleDockPosNone | |
kFBToolPossibleDockPosTop | |
kFBToolPossibleDockPosLeft | |
kFBToolPossibleDockPosRight | |
kFBToolPossibleDockPosBottom |
Definition at line 101 of file fbtool.h.
{ kFBToolPossibleDockPosNone = 0, kFBToolPossibleDockPosTop = (1 << 0), kFBToolPossibleDockPosLeft = (1 << 1), kFBToolPossibleDockPosRight = (1 << 2), kFBToolPossibleDockPosBottom = (1 << 3), };
FB_FORWARD | ( | FBFbxObject | ) |
__FB_FORWARD | ( | FBTool | ) |