C# 클래스 MonoGameUi.Textbox

Control für Texteingabe
상속: Label
파일 보기 프로젝트 열기: OctoAwesome/monogameui 1 사용 예제들

공개 메소드들

메소드 설명
Textbox ( BaseScreenComponent manager, string style = "" ) : System

Erzeugt eine neue Instanz der Textbox-Klasse

보호된 메소드들

메소드 설명
OnDrawContent ( SpriteBatch batch, Rectangle area, GameTime gameTime, float alpha ) : void

Malt den Content des Controls

OnKeyPress ( Microsoft.Xna.Framework.Input.KeyEventArgs args ) : void

Wird aufgerufen, wenn eine Taste gedrückt ist.

OnKeyTextPress ( KeyTextEventArgs args ) : void

메소드 상세

OnDrawContent() 보호된 메소드

Malt den Content des Controls
protected OnDrawContent ( SpriteBatch batch, Rectangle area, GameTime gameTime, float alpha ) : void
batch Microsoft.Xna.Framework.Graphics.SpriteBatch Spritebatch
area Microsoft.Xna.Framework.Rectangle Bereich für den Content in absoluten Koordinaten
gameTime Microsoft.Xna.Framework.GameTime GameTime
alpha float Die Transparenz des Controls.
리턴 void

OnKeyPress() 보호된 메소드

Wird aufgerufen, wenn eine Taste gedrückt ist.
protected OnKeyPress ( Microsoft.Xna.Framework.Input.KeyEventArgs args ) : void
args Microsoft.Xna.Framework.Input.KeyEventArgs Zusätzliche Daten zum Event.
리턴 void

OnKeyTextPress() 보호된 메소드

protected OnKeyTextPress ( KeyTextEventArgs args ) : void
args KeyTextEventArgs
리턴 void

Textbox() 공개 메소드

Erzeugt eine neue Instanz der Textbox-Klasse
public Textbox ( BaseScreenComponent manager, string style = "" ) : System
manager BaseScreenComponent
style string
리턴 System