C# 클래스 System.TermInfoDriver

상속: IConsoleDriver
파일 보기 프로젝트 열기: vargaz/mono 1 사용 예제들

Private Properties

프로퍼티 타입 설명
AddStringMapping void
AddToBuffer void
AdjustBuffer void
ChangeColor void
CheckWindowDimensions void
CreateKeyInfoFromInt ConsoleKeyInfo
CreateKeyMap void
Echo void
EchoFlush void
GetCursorPosition void
GetKeyFromBuffer object
IncrementX void
InitKeys void
InputPending bool
QueueEcho void
ReadKeyInternal ConsoleKeyInfo
SearchTerminfo string
TryTermInfoDir string
WriteConsole void

공개 메소드들

메소드 설명
Beep ( int frequency, int duration ) : void
Clear ( ) : void
Init ( ) : void
IsSpecialKey ( ConsoleKeyInfo key ) : bool
IsSpecialKey ( char c ) : bool
MoveBufferArea ( int sourceLeft, int sourceTop, int sourceWidth, int sourceHeight, int targetLeft, int targetTop, Char sourceChar, ConsoleColor sourceForeColor, ConsoleColor sourceBackColor ) : void
Read ( [ dest, int index, int count ) : 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
TermInfoDriver ( ) : System.Collections
TermInfoDriver ( string term ) : System.Collections
WriteSpecialKey ( ConsoleKeyInfo key ) : void
WriteSpecialKey ( char c ) : void

비공개 메소드들

메소드 설명
AddStringMapping ( TermInfoStrings s ) : void
AddToBuffer ( int b ) : void
AdjustBuffer ( ) : void
ChangeColor ( string format, ConsoleColor color ) : void
CheckWindowDimensions ( ) : void
CreateKeyInfoFromInt ( int n, bool alt ) : ConsoleKeyInfo
CreateKeyMap ( ) : void
Echo ( ConsoleKeyInfo key ) : void
EchoFlush ( ) : void
GetCursorPosition ( ) : void
GetKeyFromBuffer ( bool cooked ) : object
IncrementX ( ) : void
InitKeys ( ) : void
InputPending ( ) : bool
QueueEcho ( char c ) : void
ReadKeyInternal ( bool &fresh ) : ConsoleKeyInfo
SearchTerminfo ( string term ) : string
TryTermInfoDir ( string dir, string term ) : string
WriteConsole ( string str ) : void

메소드 상세

Beep() 공개 메소드

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

Clear() 공개 메소드

public Clear ( ) : void
리턴 void

Init() 공개 메소드

public Init ( ) : void
리턴 void

IsSpecialKey() 공개 메소드

public IsSpecialKey ( ConsoleKeyInfo key ) : bool
key ConsoleKeyInfo
리턴 bool

IsSpecialKey() 공개 메소드

public IsSpecialKey ( char c ) : bool
c char
리턴 bool

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

Read() 공개 메소드

public Read ( [ dest, int index, int count ) : int
dest [
index int
count int
리턴 int

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

TermInfoDriver() 공개 메소드

public TermInfoDriver ( ) : System.Collections
리턴 System.Collections

TermInfoDriver() 공개 메소드

public TermInfoDriver ( string term ) : System.Collections
term string
리턴 System.Collections

WriteSpecialKey() 공개 메소드

public WriteSpecialKey ( ConsoleKeyInfo key ) : void
key ConsoleKeyInfo
리턴 void

WriteSpecialKey() 공개 메소드

public WriteSpecialKey ( char c ) : void
c char
리턴 void