Property | Type | Description | |
---|---|---|---|
_badgeLeft | |||
_badgeRight | |||
_labelText | NativeUI.UIResText | ||
_rectangle | NativeUI.UIResRectangle | ||
_selectedSprite | |||
_text | NativeUI.UIResText |
Method | Description | |
---|---|---|
Draw ( ) : void |
Draw this item.
|
|
Position ( int y ) : void |
Set item's position.
|
|
SetLeftBadge ( BadgeStyle badge ) : void |
Set the left badge. Set it to None to remove the badge.
|
|
SetRightBadge ( BadgeStyle badge ) : void |
Set the right badge. Set it to None to remove the badge.
|
|
SetRightLabel ( string text ) : void |
Set the right label.
|
|
UIMenuItem ( string text ) : System |
Basic menu button.
|
|
UIMenuItem ( string text, string description ) : System |
Basic menu button.
|
Method | Description | |
---|---|---|
BadgeToColor ( BadgeStyle badge, bool selected ) : |
||
BadgeToSpriteLib ( BadgeStyle badge ) : string | ||
BadgeToSpriteName ( BadgeStyle badge, bool selected ) : string | ||
ItemActivate ( NativeUI.UIMenu sender ) : void |
public SetLeftBadge ( BadgeStyle badge ) : void | ||
badge | BadgeStyle | |
return | void |
public SetRightBadge ( BadgeStyle badge ) : void | ||
badge | BadgeStyle | |
return | void |
public SetRightLabel ( string text ) : void | ||
text | string | Text as label. Set it to "" to remove the label. |
return | void |
public UIMenuItem ( string text ) : System | ||
text | string | Button label. |
return | System |
public UIMenuItem ( string text, string description ) : System | ||
text | string | Button label. |
description | string | Description. |
return | System |
protected UIResRectangle,NativeUI _rectangle | ||
return | NativeUI.UIResRectangle |