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
Used to build the user interface.
FBPropertyMaterial Material
Property: Material.
FBMaterialLayout(FBMaterial *pMaterial=NULL)
Constructor.
#define __FBClassDeclare(Name, Parent)
For internal use only.
#define FBSDK_DLL
Be sure that FBSDK_DLL is defined only once...
Contains the user interface components for the SDK.
#define __FB_FORWARD(ClassName)
Forwarding of class and typedef declaration.