C# Класс SharpOS.Kernel.ADC.TextMode

Показать файл Открыть проект Примеры использования класса

Открытые методы

Метод Описание
RefreshCursor ( ) : void

Makes sure the cursor displayed on the screen is in sync with the internal cursor (used to position new Write() data).

Write ( CString8 str ) : void
Write ( PString8 str ) : void
Write ( bool value ) : void

Writes an bool to the screen boolean value to write

Write ( byte str ) : void
Write ( byte str, int len ) : void

Common Write() implementation. Serves Write(CString8*), Write(PString8*), and Write(byte*).

Write ( byte str, int strLen, int offset, int len ) : void
Write ( int value ) : void

Writes an Int32 to the screen in decimal format.

Write ( int value, bool hex ) : void

Writes an Int32 to the screen, either in decimal or hexadecimal format.

Write ( int value, bool hex, int minSize ) : void

Writes an Int32 to the screen, either in decimal or hexadecimal format.

Write ( string message ) : void

Writes a 16-bit string to the screen.

Write ( string message, int value ) : void
WriteLine ( ) : void

Writes a newline to the screen.

WriteLine ( CString8 message ) : void

Writes a CString8* to the screen, followed by a newline.

WriteLine ( CString8 message, int value ) : void
WriteLine ( CString8 message, int value, bool hex ) : void

Writes the string message to the screen, then the Int32 value, followed by a newline.

WriteLine ( PString8 message ) : void

Writes a CString8* to the screen, followed by a newline.

WriteLine ( PString8 message, int value ) : void
WriteLine ( PString8 message, int value, bool hex ) : void

Writes the string message to the screen, then the Int32 value, followed by a newline.

WriteLine ( byte message ) : void

Writes a CString8* to the screen, followed by a newline.

WriteLine ( byte message, int value ) : void
WriteLine ( byte message, int value, bool hex ) : void

Writes the string message to the screen, then the Int32 value, followed by a newline.

WriteLine ( string message ) : void

Writes a string to the screen, followed by a newline.

WriteLine ( string message, int value ) : void
WriteLine ( string message, int value, bool hex ) : void

Writes the string message to the screen, then the Int32 value, followed by a newline.

WriteLine ( string message, int value, bool hex, string message2 ) : void
WriteLine ( string message, int value, string message2 ) : void
WriteSubstring ( CString8 message, int offset, int len ) : void

Writes len characters of the string message to the screen, starting with the character at index offset.

WriteSubstring ( PString8 message, int offset, int len ) : void

Writes len characters of the string message to the screen, starting with the character at index offset.

WriteSubstring ( byte message, int offset, int len ) : void

Writes len characters of the string message to the screen, starting with the character at index offset.

WriteSubstring ( string message, int offset, int len ) : void

Writes len characters of the string message to the screen, starting with the character at index offset.

Приватные методы

Метод Описание
ClearScreen ( ) : void
ClearToEndOfLine ( ) : void
GetBufferHeight ( ) : int
GetCursor ( int &ret_x, int &ret_y ) : void
GetReadPosition ( ) : int
GetScreenSize ( int &ret_w, int &ret_h ) : void
GetWritePosition ( ) : int
MoveTo ( int _x, int _y ) : void
RestoreAttributes ( ) : bool
SaveAttributes ( ) : bool
ScrollPage ( int value ) : void
SetAttributes ( TextColor _foreground, TextColor _background ) : void
SetCursor ( int _x, int _y ) : void
SetCursorSize ( byte _start, byte _end ) : void
SetReadPos ( int position ) : void
Setup ( ) : void
WriteByte ( byte value ) : void
WriteChar ( byte value ) : void
WriteHex ( byte value ) : void
WriteNumber ( int value ) : void
WriteNumber ( int value, bool hex ) : void

Описание методов

RefreshCursor() публичный статический Метод

Makes sure the cursor displayed on the screen is in sync with the internal cursor (used to position new Write() data).
public static RefreshCursor ( ) : void
Результат void

Write() публичный статический Метод

public static Write ( CString8 str ) : void
str SharpOS.Kernel.Foundation.CString8
Результат void

Write() публичный статический Метод

public static Write ( PString8 str ) : void
str SharpOS.Kernel.Foundation.PString8
Результат void

Write() публичный статический Метод

Writes an bool to the screen boolean value to write
public static Write ( bool value ) : void
value bool
Результат void

Write() публичный статический Метод

public static Write ( byte str ) : void
str byte
Результат void

Write() публичный статический Метод

Common Write() implementation. Serves Write(CString8*), Write(PString8*), and Write(byte*).
public static Write ( byte str, int len ) : void
str byte
len int
Результат void

Write() публичный статический Метод

public static Write ( byte str, int strLen, int offset, int len ) : void
str byte
strLen int
offset int
len int
Результат void

Write() публичный статический Метод

Writes an Int32 to the screen in decimal format.
public static Write ( int value ) : void
value int
Результат void

Write() публичный статический Метод

Writes an Int32 to the screen, either in decimal or hexadecimal format.
public static Write ( int value, bool hex ) : void
value int
hex bool
Результат void

Write() публичный статический Метод

Writes an Int32 to the screen, either in decimal or hexadecimal format.
public static Write ( int value, bool hex, int minSize ) : void
value int
hex bool
minSize int
Результат void

Write() публичный статический Метод

Writes a 16-bit string to the screen.
public static Write ( string message ) : void
message string
Результат void

Write() публичный статический Метод

public static Write ( string message, int value ) : void
message string
value int
Результат void

WriteLine() публичный статический Метод

Writes a newline to the screen.
public static WriteLine ( ) : void
Результат void

WriteLine() публичный статический Метод

Writes a CString8* to the screen, followed by a newline.
public static WriteLine ( CString8 message ) : void
message SharpOS.Kernel.Foundation.CString8
Результат void

WriteLine() публичный статический Метод

public static WriteLine ( CString8 message, int value ) : void
message SharpOS.Kernel.Foundation.CString8
value int
Результат void

WriteLine() публичный статический Метод

Writes the string message to the screen, then the Int32 value, followed by a newline.
public static WriteLine ( CString8 message, int value, bool hex ) : void
message SharpOS.Kernel.Foundation.CString8
value int
hex bool
Результат void

WriteLine() публичный статический Метод

Writes a CString8* to the screen, followed by a newline.
public static WriteLine ( PString8 message ) : void
message SharpOS.Kernel.Foundation.PString8
Результат void

WriteLine() публичный статический Метод

public static WriteLine ( PString8 message, int value ) : void
message SharpOS.Kernel.Foundation.PString8
value int
Результат void

WriteLine() публичный статический Метод

Writes the string message to the screen, then the Int32 value, followed by a newline.
public static WriteLine ( PString8 message, int value, bool hex ) : void
message SharpOS.Kernel.Foundation.PString8
value int
hex bool
Результат void

WriteLine() публичный статический Метод

Writes a CString8* to the screen, followed by a newline.
public static WriteLine ( byte message ) : void
message byte
Результат void

WriteLine() публичный статический Метод

public static WriteLine ( byte message, int value ) : void
message byte
value int
Результат void

WriteLine() публичный статический Метод

Writes the string message to the screen, then the Int32 value, followed by a newline.
public static WriteLine ( byte message, int value, bool hex ) : void
message byte
value int
hex bool
Результат void

WriteLine() публичный статический Метод

Writes a string to the screen, followed by a newline.
public static WriteLine ( string message ) : void
message string
Результат void

WriteLine() публичный статический Метод

public static WriteLine ( string message, int value ) : void
message string
value int
Результат void

WriteLine() публичный статический Метод

Writes the string message to the screen, then the Int32 value, followed by a newline.
public static WriteLine ( string message, int value, bool hex ) : void
message string
value int
hex bool
Результат void

WriteLine() публичный статический Метод

public static WriteLine ( string message, int value, bool hex, string message2 ) : void
message string
value int
hex bool
message2 string
Результат void

WriteLine() публичный статический Метод

public static WriteLine ( string message, int value, string message2 ) : void
message string
value int
message2 string
Результат void

WriteSubstring() публичный статический Метод

Writes len characters of the string message to the screen, starting with the character at index offset.
public static WriteSubstring ( CString8 message, int offset, int len ) : void
message SharpOS.Kernel.Foundation.CString8
offset int
len int
Результат void

WriteSubstring() публичный статический Метод

Writes len characters of the string message to the screen, starting with the character at index offset.
public static WriteSubstring ( PString8 message, int offset, int len ) : void
message SharpOS.Kernel.Foundation.PString8
offset int
len int
Результат void

WriteSubstring() публичный статический Метод

Writes len characters of the string message to the screen, starting with the character at index offset.
public static WriteSubstring ( byte message, int offset, int len ) : void
message byte
offset int
len int
Результат void

WriteSubstring() публичный статический Метод

Writes len characters of the string message to the screen, starting with the character at index offset.
public static WriteSubstring ( string message, int offset, int len ) : void
message string
offset int
len int
Результат void