C# Class Beyond_Beyaan.BBSingleLineTextBox

Afficher le fichier Open project: Beyonders/Beyond-Beyaan

Méthodes publiques

Méthode Description
DeleteSelectedText ( ) : void
Draw ( ) : void
Initialize ( string text, int x, int y, int width, int height, bool isReadOnly, Random r, string &reason ) : bool
KeyDown ( KeyboardInputEventArgs e ) : bool
MouseDown ( int x, int y ) : bool
MouseUp ( int x, int y ) : bool
MoveTo ( int x, int y ) : void
ReplaceSelectedText ( string replacement ) : void
Select ( ) : void
SetReadOnly ( bool readOnly ) : void
SetText ( string text ) : void
SetTextAttributes ( Color color, Color outline ) : void
Update ( float frameDeltaTime ) : void

Private Methods

Méthode Description
DrawHighlight ( float x, float y ) : void

Method Details

DeleteSelectedText() public méthode

public DeleteSelectedText ( ) : void
Résultat void

Draw() public méthode

public Draw ( ) : void
Résultat void

Initialize() public méthode

public Initialize ( string text, int x, int y, int width, int height, bool isReadOnly, Random r, string &reason ) : bool
text string
x int
y int
width int
height int
isReadOnly bool
r System.Random
reason string
Résultat bool

KeyDown() public méthode

public KeyDown ( KeyboardInputEventArgs e ) : bool
e KeyboardInputEventArgs
Résultat bool

MouseDown() public méthode

public MouseDown ( int x, int y ) : bool
x int
y int
Résultat bool

MouseUp() public méthode

public MouseUp ( int x, int y ) : bool
x int
y int
Résultat bool

MoveTo() public méthode

public MoveTo ( int x, int y ) : void
x int
y int
Résultat void

ReplaceSelectedText() public méthode

public ReplaceSelectedText ( string replacement ) : void
replacement string
Résultat void

Select() public méthode

public Select ( ) : void
Résultat void

SetReadOnly() public méthode

public SetReadOnly ( bool readOnly ) : void
readOnly bool
Résultat void

SetText() public méthode

public SetText ( string text ) : void
text string
Résultat void

SetTextAttributes() public méthode

public SetTextAttributes ( Color color, Color outline ) : void
color Color
outline Color
Résultat void

Update() public méthode

public Update ( float frameDeltaTime ) : void
frameDeltaTime float
Résultat void