C# 클래스 Beyond_Beyaan.BBSingleLineTextBox

파일 보기 프로젝트 열기: Beyonders/Beyond-Beyaan

공개 메소드들

메소드 설명
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