#include <UILayoutParameter.h>
Public Member Functions | |
UIRelativeLayoutParameter () | |
Default constructor. More... | |
virtual | ~UIRelativeLayoutParameter () |
Default destructor. More... | |
void | setAlign (UIRelativeAlign align) |
Sets UIRelativeAlign parameter for LayoutParameter. More... | |
UIRelativeAlign | getAlign () const |
Gets UIRelativeAlign parameter for LayoutParameter. More... | |
void | setRelativeToWidgetName (const char *name) |
Sets a key for LayoutParameter. More... | |
const char * | getRelativeToWidgetName () const |
Gets the key of LayoutParameter. More... | |
void | setRelativeName (const char *name) |
Sets a name in Relative Layout for LayoutParameter. More... | |
const char * | getRelativeName () const |
Gets a name in Relative Layout of LayoutParameter. More... | |
![]() | |
UILayoutParameter () | |
ctor () | |
virtual | ~UILayoutParameter () |
Default destructor. More... | |
void | setMargin (const UIMargin &margin) |
Sets Margin parameter for LayoutParameter. More... | |
const UIMargin & | getMargin () const |
Gets Margin parameter of LayoutParameter. More... | |
LayoutParameterType | getLayoutType () const |
Gets LayoutParameterType of LayoutParameter. More... | |
var | getLayoutType () |
Gets LayoutParameterType of LayoutParameter. More... | |
![]() | |
CCObject (void) | |
virtual | ~CCObject (void) |
void | release (void) |
void | retain (void) |
CCObject * | autorelease (void) |
CCObject * | copy (void) |
bool | isSingleReference (void) const |
unsigned int | retainCount (void) const |
virtual bool | isEqual (const CCObject *pObject) |
virtual void | acceptVisitor (CCDataVisitor &visitor) |
virtual void | update (float dt) |
![]() | |
virtual CCObject * | copyWithZone (CCZone *pZone) |
Static Public Member Functions | |
static UIRelativeLayoutParameter * | create () |
Allocates and initializes. More... | |
![]() | |
static UILayoutParameter * | create () |
Allocates and initializes. More... | |
Protected Attributes | |
UIRelativeAlign | m_eRelativeAlign |
std::string | m_strRelativeWidgetName |
std::string | m_strRelativeLayoutName |
bool | m_bPut |
![]() | |
UIMargin | m_margin |
LayoutParameterType | m_eLayoutParameterType |
var | m_eLayoutParameterType |
![]() | |
unsigned int | m_uReference |
unsigned int | m_uAutoReleaseCount |
Friends | |
class | UILayout |
Additional Inherited Members | |
![]() | |
unsigned int | m_uID |
int | m_nLuaID |
|
inline |
Default constructor.
|
inlinevirtual |
Default destructor.
|
static |
Allocates and initializes.
UIRelativeAlign getAlign | ( | ) | const |
const char* getRelativeName | ( | ) | const |
Gets a name in Relative Layout of LayoutParameter.
const char* getRelativeToWidgetName | ( | ) | const |
Gets the key of LayoutParameter.
Witch widget named this is relative to.
void setAlign | ( | UIRelativeAlign | align) |
Sets UIRelativeAlign parameter for LayoutParameter.
UIRelativeAlign |
void setRelativeName | ( | const char * | name) |
Sets a name in Relative Layout for LayoutParameter.
name |
void setRelativeToWidgetName | ( | const char * | name) |
Sets a key for LayoutParameter.
Witch widget named this is relative to.
name |
|
friend |
|
protected |
|
protected |
|
protected |
|
protected |