C# 클래스 System.ConsoleDriver

파일 보기 프로젝트 열기: runefs/Marvin 1 사용 예제들

공개 메소드들

메소드 설명
Beep ( int frequency, int duration ) : void
Clear ( ) : void
Init ( ) : void
MoveBufferArea ( int sourceLeft, int sourceTop, int sourceWidth, int sourceHeight, int targetLeft, int targetTop ) : void
MoveBufferArea ( int sourceLeft, int sourceTop, int sourceWidth, int sourceHeight, int targetLeft, int targetTop, char sourceChar, ConsoleColor sourceForeColor, ConsoleColor sourceBackColor ) : void
Read ( ) : int
ReadKey ( bool intercept ) : ConsoleKeyInfo
ReadLine ( ) : string
ResetColor ( ) : void
SetBufferSize ( int width, int height ) : void
SetCursorPosition ( int left, int top ) : void
SetWindowPosition ( int left, int top ) : void
SetWindowSize ( int width, int height ) : void

비공개 메소드들

메소드 설명
ConsoleDriver ( ) : System.IO
CreateNullConsoleDriver ( ) : IConsoleDriver
CreateTermInfoDriver ( string term ) : IConsoleDriver
CreateWindowsConsoleDriver ( ) : IConsoleDriver
InternalKeyAvailable ( int ms_timeout ) : int
Isatty ( IntPtr handle ) : bool
SetBreak ( bool wantBreak ) : bool
SetEcho ( bool wantEcho ) : bool
TtySetup ( string keypadXmit, string teardown, byte &control_characters, int &address ) : bool

메소드 상세

Beep() 공개 정적인 메소드

public static Beep ( int frequency, int duration ) : void
frequency int
duration int
리턴 void

Clear() 공개 정적인 메소드

public static Clear ( ) : void
리턴 void

Init() 공개 정적인 메소드

public static Init ( ) : void
리턴 void

MoveBufferArea() 공개 정적인 메소드

public static MoveBufferArea ( int sourceLeft, int sourceTop, int sourceWidth, int sourceHeight, int targetLeft, int targetTop ) : void
sourceLeft int
sourceTop int
sourceWidth int
sourceHeight int
targetLeft int
targetTop int
리턴 void

MoveBufferArea() 공개 정적인 메소드

public static MoveBufferArea ( int sourceLeft, int sourceTop, int sourceWidth, int sourceHeight, int targetLeft, int targetTop, char sourceChar, ConsoleColor sourceForeColor, ConsoleColor sourceBackColor ) : void
sourceLeft int
sourceTop int
sourceWidth int
sourceHeight int
targetLeft int
targetTop int
sourceChar char
sourceForeColor ConsoleColor
sourceBackColor ConsoleColor
리턴 void

Read() 공개 정적인 메소드

public static Read ( ) : int
리턴 int

ReadKey() 공개 정적인 메소드

public static ReadKey ( bool intercept ) : ConsoleKeyInfo
intercept bool
리턴 ConsoleKeyInfo

ReadLine() 공개 정적인 메소드

public static ReadLine ( ) : string
리턴 string

ResetColor() 공개 정적인 메소드

public static ResetColor ( ) : void
리턴 void

SetBufferSize() 공개 정적인 메소드

public static SetBufferSize ( int width, int height ) : void
width int
height int
리턴 void

SetCursorPosition() 공개 정적인 메소드

public static SetCursorPosition ( int left, int top ) : void
left int
top int
리턴 void

SetWindowPosition() 공개 정적인 메소드

public static SetWindowPosition ( int left, int top ) : void
left int
top int
리턴 void

SetWindowSize() 공개 정적인 메소드

public static SetWindowSize ( int width, int height ) : void
width int
height int
리턴 void