C# 클래스 NativeUI.UIMenuItem

파일 보기 프로젝트 열기: Guad/NativeUI 1 사용 예제들

보호된 프로퍼티들

프로퍼티 타입 설명
_badgeLeft Sprite
_badgeRight Sprite
_labelText NativeUI.UIResText
_rectangle NativeUI.UIResRectangle
_selectedSprite Sprite
_text NativeUI.UIResText

공개 메소드들

메소드 설명
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 ( NativeUI.UIMenu sender ) : void

메소드 상세

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,NativeUI _badgeLeft
리턴 Sprite

_badgeRight 보호되어 있는 프로퍼티

protected Sprite,NativeUI _badgeRight
리턴 Sprite

_labelText 보호되어 있는 프로퍼티

protected UIResText,NativeUI _labelText
리턴 NativeUI.UIResText

_rectangle 보호되어 있는 프로퍼티

protected UIResRectangle,NativeUI _rectangle
리턴 NativeUI.UIResRectangle

_selectedSprite 보호되어 있는 프로퍼티

protected Sprite,NativeUI _selectedSprite
리턴 Sprite

_text 보호되어 있는 프로퍼티

protected UIResText,NativeUI _text
리턴 NativeUI.UIResText