This class provide a placeholder to put values necessary to create a Region with FBLayout.AddRegion.
Each region components: X, Y, Width and Height needs its own FBAddRegionParam. ex: x = FBAddRegionParam(0,FBAttachType.kFBAttachLeft,"") y = FBAddRegionParam(0,FBAttachType.kFBAttachTop,"") w = FBAddRegionParam(0,FBAttachType.kFBAttachRight,"") h = FBAddRegionParam(25,FBAttachType.kFBAttachNone,"") mainLyt.AddRegion("main","main", x, y, w, h)
Public Member Functions |
|
| FBAddRegionParam (int pPos, FBAttachType pType, char *pRelative, float pMult=1.0f) | |
| Initialize a region params. |
|
Public Attributes |
|
| FBPropertyInt | mPos |
| Read Property: Offset in pixel
according depending on the use of
FBAddRegionParam (X, Y, W or H). |
|
| FBAttachType | mType |
| Read Property: Type of Attachment.
|
|
| str | mRelative |
| Read Property: Name of Region to
attach relative to. |
|
| FBPropertyFloat | mMult |
| Read Property: Multiplier of relative
value. |
|
| FBAddRegionParam | ( | int | pPos, |
| FBAttachType | pType, | ||
| char * | pRelative, | ||
| float | pMult = 1.0f |
||
| ) |
Initialize a region params.
| pPos | Offset in pixel according depending on the use of FBAddRegionParam (X, Y, W or H) |
| pType | Type of Attachment. |
| pRelative | Name of Region to attach relative to. |
| pMult | Multiplier of relative value. |
Read Property: Offset in pixel according depending on the use of FBAddRegionParam (X, Y, W or H).
Read Property: Type of Attachment.
Read Property: Name of Region to attach relative to.
Read Property: Multiplier of relative value.