C# 클래스 Gruppe22.Client.TextInput

상속: UIElement
파일 보기 프로젝트 열기: propra13-orga/gruppe22 1 사용 예제들

보호된 프로퍼티들

프로퍼티 타입 설명
_background Microsoft.Xna.Framework.Graphics.Texture2D
_canEdit bool
_font Microsoft.Xna.Framework.Graphics.SpriteFont
_label string
_text string
_textWidth int
_tooltip string

공개 메소드들

메소드 설명
Draw ( GameTime gameTime ) : void
HandleEvent ( bool DownStream, Backend eventID ) : void
OnKeyDown ( Microsoft k ) : bool
TextInput ( Backend parent, SpriteBatch spriteBatch, Microsoft.Xna.Framework.Content.ContentManager content, Rectangle displayRect, string label, string text, string toolTip, int inputWidth, bool canEdit ) : System

Update ( GameTime gameTime ) : void

보호된 메소드들

메소드 설명
_DisplayToolTip ( ) : void

Append a new line of text to the status box; word wrap if necessary

메소드 상세

Draw() 공개 메소드

public Draw ( GameTime gameTime ) : void
gameTime Microsoft.Xna.Framework.GameTime
리턴 void

HandleEvent() 공개 메소드

public HandleEvent ( bool DownStream, Backend eventID ) : void
DownStream bool
eventID Backend
리턴 void

OnKeyDown() 공개 메소드

public OnKeyDown ( Microsoft k ) : bool
k Microsoft
리턴 bool

TextInput() 공개 메소드

public TextInput ( Backend parent, SpriteBatch spriteBatch, Microsoft.Xna.Framework.Content.ContentManager content, Rectangle displayRect, string label, string text, string toolTip, int inputWidth, bool canEdit ) : System
parent Backend
spriteBatch Microsoft.Xna.Framework.Graphics.SpriteBatch
content Microsoft.Xna.Framework.Content.ContentManager
displayRect Microsoft.Xna.Framework.Rectangle
label string
text string
toolTip string
inputWidth int
canEdit bool
리턴 System

Update() 공개 메소드

public Update ( GameTime gameTime ) : void
gameTime Microsoft.Xna.Framework.GameTime
리턴 void

_DisplayToolTip() 보호된 메소드

Append a new line of text to the status box; word wrap if necessary
protected _DisplayToolTip ( ) : void
리턴 void

프로퍼티 상세

_background 보호되어 있는 프로퍼티

protected Texture2D,Microsoft.Xna.Framework.Graphics _background
리턴 Microsoft.Xna.Framework.Graphics.Texture2D

_canEdit 보호되어 있는 프로퍼티

protected bool _canEdit
리턴 bool

_font 보호되어 있는 프로퍼티

protected SpriteFont,Microsoft.Xna.Framework.Graphics _font
리턴 Microsoft.Xna.Framework.Graphics.SpriteFont

_label 보호되어 있는 프로퍼티

protected string _label
리턴 string

_text 보호되어 있는 프로퍼티

protected string _text
리턴 string

_textWidth 보호되어 있는 프로퍼티

protected int _textWidth
리턴 int

_tooltip 보호되어 있는 프로퍼티

protected string _tooltip
리턴 string