C# Класс Beyond_Beyaan.BBSingleLineTextBox

Показать файл Открыть проект

Открытые методы

Метод Описание
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

Приватные методы

Метод Описание
DrawHighlight ( float x, float y ) : void

Описание методов

DeleteSelectedText() публичный Метод

public DeleteSelectedText ( ) : void
Результат void

Draw() публичный Метод

public Draw ( ) : void
Результат void

Initialize() публичный Метод

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
Результат bool

KeyDown() публичный Метод

public KeyDown ( KeyboardInputEventArgs e ) : bool
e KeyboardInputEventArgs
Результат bool

MouseDown() публичный Метод

public MouseDown ( int x, int y ) : bool
x int
y int
Результат bool

MouseUp() публичный Метод

public MouseUp ( int x, int y ) : bool
x int
y int
Результат bool

MoveTo() публичный Метод

public MoveTo ( int x, int y ) : void
x int
y int
Результат void

ReplaceSelectedText() публичный Метод

public ReplaceSelectedText ( string replacement ) : void
replacement string
Результат void

Select() публичный Метод

public Select ( ) : void
Результат void

SetReadOnly() публичный Метод

public SetReadOnly ( bool readOnly ) : void
readOnly bool
Результат void

SetText() публичный Метод

public SetText ( string text ) : void
text string
Результат void

SetTextAttributes() публичный Метод

public SetTextAttributes ( Color color, Color outline ) : void
color Color
outline Color
Результат void

Update() публичный Метод

public Update ( float frameDeltaTime ) : void
frameDeltaTime float
Результат void