C# Class MonoGameUi.Textbox

Control für Texteingabe
Inheritance: Label
Afficher le fichier Open project: OctoAwesome/monogameui Class Usage Examples

Méthodes publiques

Méthode Description
Textbox ( BaseScreenComponent manager, string style = "" ) : System

Erzeugt eine neue Instanz der Textbox-Klasse

Méthodes protégées

Méthode Description
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

Method Details

OnDrawContent() protected méthode

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.
Résultat void

OnKeyPress() protected méthode

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.
Résultat void

OnKeyTextPress() protected méthode

protected OnKeyTextPress ( KeyTextEventArgs args ) : void
args KeyTextEventArgs
Résultat void

Textbox() public méthode

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