Declaration for the FBTool class. More...
#include
<kaydaradef.h>
#include <fbcontrols/fbcontrols.h>
Go to the source code of this
file.
Detailed Description
Declaration for the FBTool class.
Definition in file fbtool.h.
Define Documentation
#define
FBSDK_DLL K_DLLIMPORT |
Be sure that FBSDK_DLL is defined only once...
Definition at line 48 of file fbtool.h.
#define FBRegisterTool |
( |
|
ClassName, |
|
|
|
Label, |
|
|
|
Description, |
|
|
|
IconFilename |
|
) |
|
|
Value:
static HIObject RegisterTool##ClassName( HIObject pOwner,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.
- Parameters:
-
ClassName |
Name of tool class to register. |
Label |
Short description of tool. |
Description |
Long description of tool. |
IconFilename |
Filename of associated icon. |
Definition at line 66 of file fbtool.h.
#define FBToolDeclare |
( |
|
ClassName, |
|
|
|
Parent |
|
) |
|
|
Value:
Tool class declaration.
- Parameters:
-
ClassName |
Name of tool class to declare. |
Parent |
Name of tool class parent class. |
Definition at line 86 of file fbtool.h.
#define FBToolImplementation |
( |
|
ThisComponent |
) |
FBClassImplementation( ThisComponent ) |
Tool class implementation.
- Parameters:
-
ThisComponent |
Tool class to implement. |
Definition at line 95 of file fbtool.h.
Enumeration Type Documentation
- Enumerator:
-
kFBToolPossibleDockPosNone |
|
kFBToolPossibleDockPosTop |
|
kFBToolPossibleDockPosLeft |
|
kFBToolPossibleDockPosRight |
|
kFBToolPossibleDockPosBottom |
|
Definition at line 101 of file fbtool.h.
Function Documentation