C# 클래스 RAGENativeUI.Elements.UIMenuItem

Simple item with a label.
파일 보기 프로젝트 열기: alexguirre/RAGENativeUI 1 사용 예제들

보호된 프로퍼티들

프로퍼티 타입 설명
_badgeLeft Sprite
_badgeRight Sprite
_labelText RAGENativeUI.Elements.ResText
_rectangle RAGENativeUI.Elements.ResRectangle
_selectedSprite Sprite
_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

메소드 상세

BadgeToColor() 보호된 메소드

protected BadgeToColor ( BadgeStyle badge, bool selected ) : Color
badge BadgeStyle
selected bool
리턴 Color

BadgeToSpriteLib() 보호된 메소드

protected BadgeToSpriteLib ( BadgeStyle badge ) : string
badge BadgeStyle
리턴 string

BadgeToSpriteName() 보호된 메소드

protected BadgeToSpriteName ( BadgeStyle badge, bool selected ) : string
badge BadgeStyle
selected bool
리턴 string

Draw() 공개 메소드

Draw this item.
public Draw ( ) : void
리턴 void

Position() 공개 메소드

Set item's position.
public Position ( int y ) : void
y int
리턴 void

SetLeftBadge() 공개 메소드

Set the left badge. Set it to None to remove the badge.
public SetLeftBadge ( BadgeStyle badge ) : void
badge BadgeStyle
리턴 void

SetRightBadge() 공개 메소드

Set the right badge. Set it to None to remove the badge.
public SetRightBadge ( BadgeStyle badge ) : void
badge BadgeStyle
리턴 void

SetRightLabel() 공개 메소드

Set the right label.
public SetRightLabel ( string text ) : void
text string Text as label. Set it to "" to remove the label.
리턴 void

UIMenuItem() 공개 메소드

Basic menu button.
public UIMenuItem ( string text ) : System
text string Button label.
리턴 System

UIMenuItem() 공개 메소드

Basic menu button.
public UIMenuItem ( string text, string description ) : System
text string Button label.
description string Description.
리턴 System

프로퍼티 상세

_badgeLeft 보호되어 있는 프로퍼티

protected Sprite,RAGENativeUI.Elements _badgeLeft
리턴 Sprite

_badgeRight 보호되어 있는 프로퍼티

protected Sprite,RAGENativeUI.Elements _badgeRight
리턴 Sprite

_labelText 보호되어 있는 프로퍼티

protected ResText,RAGENativeUI.Elements _labelText
리턴 RAGENativeUI.Elements.ResText

_rectangle 보호되어 있는 프로퍼티

protected ResRectangle,RAGENativeUI.Elements _rectangle
리턴 RAGENativeUI.Elements.ResRectangle

_selectedSprite 보호되어 있는 프로퍼티

protected Sprite,RAGENativeUI.Elements _selectedSprite
리턴 Sprite

_text 보호되어 있는 프로퍼티

protected ResText,RAGENativeUI.Elements _text
리턴 RAGENativeUI.Elements.ResText