Свойство | Тип | Описание | |
---|---|---|---|
_badgeLeft | |||
_badgeRight | |||
_labelText | RAGENativeUI.Elements.ResText | ||
_rectangle | RAGENativeUI.Elements.ResRectangle | ||
_selectedSprite | |||
_text | RAGENativeUI.Elements.ResText |
Метод | Описание | |
---|---|---|
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.
|
Метод | Описание | |
---|---|---|
BadgeToColor ( BadgeStyle badge, bool selected ) : Color | ||
BadgeToSpriteLib ( BadgeStyle badge ) : string | ||
BadgeToSpriteName ( BadgeStyle badge, bool selected ) : string |
Метод | Описание | |
---|---|---|
ItemActivate ( UIMenu sender ) : void |
protected BadgeToColor ( BadgeStyle badge, bool selected ) : Color | ||
badge | BadgeStyle | |
selected | bool | |
Результат | Color |
protected BadgeToSpriteLib ( BadgeStyle badge ) : string | ||
badge | BadgeStyle | |
Результат | string |
protected BadgeToSpriteName ( BadgeStyle badge, bool selected ) : string | ||
badge | BadgeStyle | |
selected | bool | |
Результат | string |
public SetLeftBadge ( BadgeStyle badge ) : void | ||
badge | BadgeStyle | |
Результат | void |
public SetRightBadge ( BadgeStyle badge ) : void | ||
badge | BadgeStyle | |
Результат | void |
public SetRightLabel ( string text ) : void | ||
text | string | Text as label. Set it to "" to remove the label. |
Результат | void |
public UIMenuItem ( string text ) : System | ||
text | string | Button label. |
Результат | System |
public UIMenuItem ( string text, string description ) : System | ||
text | string | Button label. |
description | string | Description. |
Результат | System |
protected ResText,RAGENativeUI.Elements _labelText | ||
Результат | RAGENativeUI.Elements.ResText |
protected ResRectangle,RAGENativeUI.Elements _rectangle | ||
Результат | RAGENativeUI.Elements.ResRectangle |
protected Sprite,RAGENativeUI.Elements _selectedSprite | ||
Результат |