C# 클래스 System.WindowsConsoleDriver

상속: IConsoleDriver
파일 보기 프로젝트 열기: runefs/Marvin

공개 메소드들

메소드 설명
Beep ( int frequency, int duration ) : void
Clear ( ) : void
Init ( ) : void
MoveBufferArea ( int sourceLeft, int sourceTop, int sourceWidth, int sourceHeight, int targetLeft, int targetTop, Char sourceChar, ConsoleColor sourceForeColor, ConsoleColor sourceBackColor ) : void
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
WindowsConsoleDriver ( ) : System.Runtime.InteropServices

비공개 메소드들

메소드 설명
FillConsoleOutputAttribute ( IntPtr handle, short c, int size, Coord coord, int &written ) : bool
FillConsoleOutputCharacter ( IntPtr handle, char c, int size, Coord coord, int &written ) : bool
GetAttrBackground ( int attr, ConsoleColor color ) : short
GetAttrForeground ( int attr, ConsoleColor color ) : short
GetBackground ( short attr ) : ConsoleColor
GetConsoleCursorInfo ( IntPtr handle, ConsoleCursorInfo &info ) : bool
GetConsoleMode ( IntPtr handle, int &mode ) : bool
GetConsoleScreenBufferInfo ( IntPtr handle, ConsoleScreenBufferInfo &info ) : bool
GetConsoleTitle ( StringBuilder sb, int size ) : int
GetForeground ( short attr ) : ConsoleColor
GetKeyState ( int virtKey ) : short
GetLargestConsoleWindowSize ( IntPtr handle ) : Coord
GetStdHandle ( Handles handle ) : IntPtr
PeekConsoleInput ( IntPtr handle, InputRecord &record, int length, int &eventsRead ) : bool
ReadConsoleInput ( IntPtr handle, InputRecord &record, int length, int &nread ) : bool
ReadConsoleOutput ( IntPtr handle, void buffer, Coord bsize, Coord bpos, SmallRect &region ) : bool
SetConsoleCursorInfo ( IntPtr handle, ConsoleCursorInfo &info ) : bool
SetConsoleCursorPosition ( IntPtr handle, Coord coord ) : bool
SetConsoleMode ( IntPtr handle, int mode ) : bool
SetConsoleScreenBufferSize ( IntPtr handle, Coord newSize ) : bool
SetConsoleTextAttribute ( IntPtr handle, short attribute ) : bool
SetConsoleTitle ( string title ) : bool
SetConsoleWindowInfo ( IntPtr handle, bool absolute, SmallRect &rect ) : bool
WriteConsoleOutput ( IntPtr handle, CharInfo buffer, Coord bsize, Coord bpos, SmallRect &region ) : bool
_Beep ( int frequency, int duration ) : void

메소드 상세

Beep() 공개 메소드

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

Clear() 공개 메소드

public Clear ( ) : void
리턴 void

Init() 공개 메소드

public Init ( ) : void
리턴 void

MoveBufferArea() 공개 메소드

public 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

ReadKey() 공개 메소드

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

ReadLine() 공개 메소드

public ReadLine ( ) : string
리턴 string

ResetColor() 공개 메소드

public ResetColor ( ) : void
리턴 void

SetBufferSize() 공개 메소드

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

SetCursorPosition() 공개 메소드

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

SetWindowPosition() 공개 메소드

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

SetWindowSize() 공개 메소드

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

WindowsConsoleDriver() 공개 메소드

public WindowsConsoleDriver ( ) : System.Runtime.InteropServices
리턴 System.Runtime.InteropServices