C# 클래스 kOS.Safe.Screen.ScreenBuffer

상속: IScreenBuffer
파일 보기 프로젝트 열기: KSP-KOS/KOS

공개 메소드들

메소드 설명
AddResizeNotifier ( ResizeNotifier notifier ) : void
AddSubBuffer ( kOS.Safe.Screen.SubBuffer subBuffer ) : void
ClearScreen ( ) : void
DebugDump ( ) : string
GetBuffer ( ) : List
MarkRowsDirty ( int startRow, int numRows ) : void

Marks the given section of rows in the buffer as dirty and in need of a diff check.

MoveCursor ( int row, int column ) : void
MoveToNextLine ( ) : void
Print ( string textToPrint ) : void
Print ( string textToPrint, bool addNewLine ) : void
PrintAt ( string textToPrint, int row, int column ) : void
RemoveResizeNotifier ( ResizeNotifier notifier ) : void
RemoveSubBuffer ( kOS.Safe.Screen.SubBuffer subBuffer ) : void
ScreenBuffer ( ) : System
ScrollVertical ( int deltaRows ) : int
SetSize ( int rows, int columns ) : void

보호된 메소드들

메소드 설명
AddNewBufferLines ( int howMany = 1 ) : void
ResizeBuffer ( ) : void
SplitIntoLines ( string textToPrint ) : List
UpdateSubBuffers ( ) : void

비공개 메소드들

메소드 설명
InitializeBuffer ( ) : void
MoveColumn ( int deltaPosition ) : void
PrintLine ( string textToPrint ) : void
ScrollVerticalInternal ( int deltaRows = 1 ) : int
StripUnprintables ( string textToPrint ) : string

메소드 상세

AddNewBufferLines() 보호된 메소드

protected AddNewBufferLines ( int howMany = 1 ) : void
howMany int
리턴 void

AddResizeNotifier() 공개 메소드

public AddResizeNotifier ( ResizeNotifier notifier ) : void
notifier ResizeNotifier
리턴 void

AddSubBuffer() 공개 메소드

public AddSubBuffer ( kOS.Safe.Screen.SubBuffer subBuffer ) : void
subBuffer kOS.Safe.Screen.SubBuffer
리턴 void

ClearScreen() 공개 메소드

public ClearScreen ( ) : void
리턴 void

DebugDump() 공개 메소드

public DebugDump ( ) : string
리턴 string

GetBuffer() 공개 메소드

public GetBuffer ( ) : List
리턴 List

MarkRowsDirty() 공개 메소드

Marks the given section of rows in the buffer as dirty and in need of a diff check.
public MarkRowsDirty ( int startRow, int numRows ) : void
startRow int Starting with this row number
numRows int for this many rows, or up to the max row the buffer has if this number is too large
리턴 void

MoveCursor() 공개 메소드

public MoveCursor ( int row, int column ) : void
row int
column int
리턴 void

MoveToNextLine() 공개 메소드

public MoveToNextLine ( ) : void
리턴 void

Print() 공개 메소드

public Print ( string textToPrint ) : void
textToPrint string
리턴 void

Print() 공개 메소드

public Print ( string textToPrint, bool addNewLine ) : void
textToPrint string
addNewLine bool
리턴 void

PrintAt() 공개 메소드

public PrintAt ( string textToPrint, int row, int column ) : void
textToPrint string
row int
column int
리턴 void

RemoveResizeNotifier() 공개 메소드

public RemoveResizeNotifier ( ResizeNotifier notifier ) : void
notifier ResizeNotifier
리턴 void

RemoveSubBuffer() 공개 메소드

public RemoveSubBuffer ( kOS.Safe.Screen.SubBuffer subBuffer ) : void
subBuffer kOS.Safe.Screen.SubBuffer
리턴 void

ResizeBuffer() 보호된 메소드

protected ResizeBuffer ( ) : void
리턴 void

ScreenBuffer() 공개 메소드

public ScreenBuffer ( ) : System
리턴 System

ScrollVertical() 공개 메소드

public ScrollVertical ( int deltaRows ) : int
deltaRows int
리턴 int

SetSize() 공개 메소드

public SetSize ( int rows, int columns ) : void
rows int
columns int
리턴 void

SplitIntoLines() 보호된 메소드

protected SplitIntoLines ( string textToPrint ) : List
textToPrint string
리턴 List

UpdateSubBuffers() 보호된 메소드

protected UpdateSubBuffers ( ) : void
리턴 void