FBMaterial layout file. More...
#include
<kaydaradef.h>#include <fbsdk/fbmodel.h>#include <fbcontrols/fbcontrols.h>Go to the source code of this file.
Classes |
|
| class | FBMaterialLayout |
| Material layout class. More... |
|
Defines |
|
| #define | FBSDK_DLL K_DLLIMPORT |
| Be sure that FBSDK_DLL is defined only
once... |
|
| #define | FBRegisterMaterialLayout(ClassName, UniqueNameStr, IconFilename) |
| Register a Material layout class. |
|
| #define | FBMaterialLayoutDeclare(ClassName, Parent) |
| Material layout declaration. |
|
| #define | FBMaterialLayoutImplementation(ThisComponent) FBClassImplementation( ThisComponent ) |
| Material layout implementation. |
|
Functions |
|
| __FB_FORWARD (FBMaterialLayout) | |
FBMaterial layout file.
Definition in file fbmateriallayout.h.
| #define FBSDK_DLL K_DLLIMPORT |
Be sure that FBSDK_DLL is defined only once...
Definition at line 48 of file fbmateriallayout.h.
| #define FBRegisterMaterialLayout | ( | ClassName, | |
| UniqueNameStr, | |||
| IconFilename | |||
| ) |
HIObject RegisterMaterialLayout##ClassName( HIObject /*pOwner*/,const char * /*pName*/,void *pData) \ {\ ClassName *Class = new ClassName( (HFBMaterial)FBGetFBObject((HIObject)pData) ); \ Class->mAllocated = true; \ if (Class->FBCreate()) { \ return Class->GetHIObject(); \ } else { \ delete Class; \ return NULL; \ } \ } \ \ FBLibraryModule( ClassName ) \ { \ FBRegisterObject( ClassName,"UI_Associated_ClassName",UniqueNameStr,UniqueNameStr" Material Layout",RegisterMaterialLayout##ClassName, true, IconFilename ); \ }
Register a Material layout class.
| ClassName | Name of Material layout class. |
| UniqueNameStr | Unique name of class. |
| IconFilename | Filename of associated icon. |
Definition at line 67 of file fbmateriallayout.h.
| #define FBMaterialLayoutDeclare | ( | ClassName, | |
| Parent | |||
| ) |
FBClassDeclare( ClassName,Parent ); \ public: \ ClassName(HFBMaterial pMaterial):Parent(pMaterial) { FBClassInit; } \ private:
Material layout declaration.
| ClassName | Name of Material layout class. |
| Parent | Parent of Material layout class. |
Definition at line 89 of file fbmateriallayout.h.
| #define FBMaterialLayoutImplementation | ( | ThisComponent | ) | FBClassImplementation( ThisComponent ) |
Material layout implementation.
| ThisComponent | Name of Material layout class to implement. |
Definition at line 98 of file fbmateriallayout.h.
| __FB_FORWARD | ( | FBMaterialLayout | ) |