Property | Type | Description | |
---|---|---|---|
_badgeLeft | |||
_badgeRight | |||
_labelText | RAGENativeUI.Elements.ResText | ||
_rectangle | RAGENativeUI.Elements.ResRectangle | ||
_selectedSprite | |||
_text | RAGENativeUI.Elements.ResText |
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 ) : Color | ||
BadgeToSpriteLib ( BadgeStyle badge ) : string | ||
BadgeToSpriteName ( BadgeStyle badge, bool selected ) : string |
Method | Description | |
---|---|---|
ItemActivate ( UIMenu sender ) : void |
protected BadgeToColor ( BadgeStyle badge, bool selected ) : Color | ||
badge | BadgeStyle | |
selected | bool | |
return | Color |
protected BadgeToSpriteLib ( BadgeStyle badge ) : string | ||
badge | BadgeStyle | |
return | string |
protected BadgeToSpriteName ( BadgeStyle badge, bool selected ) : string | ||
badge | BadgeStyle | |
selected | bool | |
return | string |
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 ResText,RAGENativeUI.Elements _labelText | ||
return | RAGENativeUI.Elements.ResText |
protected ResRectangle,RAGENativeUI.Elements _rectangle | ||
return | RAGENativeUI.Elements.ResRectangle |
protected Sprite,RAGENativeUI.Elements _selectedSprite | ||
return |