Open Reality Reference Guide
|
|
Go to the documentation of this file. 1 #ifndef __FBMATERIALLAYOUT_H__
2 #define __FBMATERIALLAYOUT_H__
43 #include <kaydaradef.h>
48 #define FBSDK_DLL K_DLLIMPORT
58 #ifdef FBSDKUseNamespace
59 namespace FBSDKNamespace {
67 #define FBRegisterMaterialLayout( ClassName,UniqueNameStr, IconFilename ) \
68 HIObject RegisterMaterialLayout##ClassName( HIObject ,const char * ,void *pData) \
70 ClassName *Class = new ClassName( (FBMaterial*)FBGetFBObject((HIObject)pData) ); \
71 Class->mAllocated = true; \
72 if (Class->FBCreate()) { \
73 return Class->GetHIObject(); \
80 FBLibraryModule( ClassName ) \
82 FBRegisterObject( ClassName,"UI_Associated_ClassName",UniqueNameStr,UniqueNameStr" Material Layout",RegisterMaterialLayout##ClassName, true, IconFilename ); \
89 #define FBMaterialLayoutDeclare( ClassName,Parent ) \
90 FBClassDeclare( ClassName,Parent ); \
92 ClassName(FBMaterial* pMaterial):Parent(pMaterial) { FBClassInit; } \
98 #define FBMaterialLayoutImplementation( ThisComponent ) \
99 FBClassImplementation( ThisComponent )
120 #ifdef FBSDKUseNamespace
FBMaterialLayout(FBMaterial *pMaterial=NULL)
Constructor.
FBPropertyMaterial Material
Property: Material.
#define __FBClassDeclare(Name, Parent)
For internal use only.
#define __FB_FORWARD(ClassName)
Forwarding of class and typedef declaration.
#define FBSDK_DLL
Be sure that FBSDK_DLL is defined only once...
Used to build the user interface.
Contains the user interface components for the SDK.