fbconstraintlayout.h File Reference

FBConstraint layout file. More...

#include <kaydaradef.h>
#include <fbsdk/fbconstraint.h>
#include <fbcontrols/fbcontrols.h>

Go to the source code of this file.

Classes

class   FBConstraintLayout
  Constraint layout class. More...

Defines

#define  FBSDK_DLL   K_DLLIMPORT
  Be sure that FBSDK_DLL is defined only once...
#define  FBRegisterConstraintLayout(ClassName, UniqueNameStr, IconFilename)
  Register a Constraint layout class.
#define  FBConstraintLayoutDeclare(ClassName, Parent)
  Constraint layout declaration.
#define  FBConstraintLayoutImplementation(ThisComponent)   FBClassImplementation( ThisComponent )
  Constraint layout implementation.

Functions

  __FB_FORWARD (FBConstraintLayout)

Detailed Description

FBConstraint layout file.

Definition in file fbconstraintlayout.h.


Define Documentation

#define FBSDK_DLL   K_DLLIMPORT

Be sure that FBSDK_DLL is defined only once...

Definition at line 48 of file fbconstraintlayout.h.

#define FBRegisterConstraintLayout (   ClassName,
  UniqueNameStr,
  IconFilename 
)
Value:
HIObject RegisterConstraintLayout##ClassName( HIObject /*pOwner*/,char * /*pName*/,void *pData) \
    {\
        ClassName *Class = new ClassName( (HFBConstraint)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" Constraint Layout",RegisterConstraintLayout##ClassName, true, IconFilename );    \
    }

Register a Constraint layout class.

Parameters:
ClassName Name of Constraint layout class.
UniqueNameStr Unique name of class.
IconFilename Filename of associated icon.

Definition at line 67 of file fbconstraintlayout.h.

#define FBConstraintLayoutDeclare (   ClassName,
  Parent 
)
Value:
FBClassDeclare( ClassName,Parent ); \
  public: \
    ClassName(HFBConstraint pConstraint):Parent(pConstraint) { FBClassInit; } \
  private:

Constraint layout declaration.

Parameters:
ClassName Name of Constraint layout class.
Parent Parent of Constraint layout class.

Definition at line 89 of file fbconstraintlayout.h.

#define FBConstraintLayoutImplementation (   ThisComponent )    FBClassImplementation( ThisComponent )

Constraint layout implementation.

Parameters:
ThisComponent Name of Constraint layout class to implement.

Definition at line 98 of file fbconstraintlayout.h.


Function Documentation