C# Class Mosa.Kernel.x86.ConsoleSession

Afficher le fichier Open project: tgiphil/MOSA-Project Class Usage Examples

Méthodes publiques

Свойство Type Description
Columns uint
Rows uint

Protected Properties

Свойство Type Description
color byte
column uint
consoleManager ConsoleManager
row uint
scrollRow uint
text byte[]
textcolor byte[]

Méthodes publiques

Méthode Description
Clear ( ) : void

Clears this instance.

ConsoleSession ( ConsoleManager consoleManager ) : Mosa.Kernel.x86.Helpers

Initializes a new instance of the ConsoleSession class.

ConsoleSession ( uint columns, uint rows, ConsoleManager consoleManager, uint scrollRow ) : Mosa.Kernel.x86.Helpers
GetColor ( byte column, byte row ) : byte
GetText ( byte column, byte row ) : char
Goto ( uint row, uint col ) : void

Sets the cursor.

GotoTop ( ) : void

Goto the top.

Write ( char chr ) : void

Writes the character.

Write ( string value ) : void

Writes the string to the screen.

Write ( uint val ) : void

Writes the specified value.

Write ( uint val, byte digits, int size ) : void

Writes the specified value.

WriteLine ( ) : void

Goto the next line.

WriteLine ( string value ) : void

Writes the string to the screen.

WriteLine ( uint val, byte digits, int size ) : void

Méthodes protégées

Méthode Description
ScrollUp ( ) : void

Scrolls up.

Private Methods

Méthode Description
Next ( ) : void

Next Column

Skip ( uint skip ) : void

Skips the specified skip.

Method Details

Clear() public méthode

Clears this instance.
public Clear ( ) : void
Résultat void

ConsoleSession() public méthode

Initializes a new instance of the ConsoleSession class.
public ConsoleSession ( ConsoleManager consoleManager ) : Mosa.Kernel.x86.Helpers
consoleManager ConsoleManager
Résultat Mosa.Kernel.x86.Helpers

ConsoleSession() public méthode

public ConsoleSession ( uint columns, uint rows, ConsoleManager consoleManager, uint scrollRow ) : Mosa.Kernel.x86.Helpers
columns uint
rows uint
consoleManager ConsoleManager
scrollRow uint
Résultat Mosa.Kernel.x86.Helpers

GetColor() public méthode

public GetColor ( byte column, byte row ) : byte
column byte
row byte
Résultat byte

GetText() public méthode

public GetText ( byte column, byte row ) : char
column byte
row byte
Résultat char

Goto() public méthode

Sets the cursor.
public Goto ( uint row, uint col ) : void
row uint The row.
col uint The col.
Résultat void

GotoTop() public méthode

Goto the top.
public GotoTop ( ) : void
Résultat void

ScrollUp() protected méthode

Scrolls up.
protected ScrollUp ( ) : void
Résultat void

Write() public méthode

Writes the character.
public Write ( char chr ) : void
chr char The character.
Résultat void

Write() public méthode

Writes the string to the screen.
public Write ( string value ) : void
value string The string value to write to the screen.
Résultat void

Write() public méthode

Writes the specified value.
public Write ( uint val ) : void
val uint The val.
Résultat void

Write() public méthode

Writes the specified value.
public Write ( uint val, byte digits, int size ) : void
val uint The val.
digits byte The digits.
size int The size.
Résultat void

WriteLine() public méthode

Goto the next line.
public WriteLine ( ) : void
Résultat void

WriteLine() public méthode

Writes the string to the screen.
public WriteLine ( string value ) : void
value string The string value to write to the screen.
Résultat void

WriteLine() public méthode

public WriteLine ( uint val, byte digits, int size ) : void
val uint
digits byte
size int
Résultat void

Property Details

Columns public_oe property

public uint Columns
Résultat uint

Rows public_oe property

public uint Rows
Résultat uint

color protected_oe property

protected byte color
Résultat byte

column protected_oe property

protected uint column
Résultat uint

consoleManager protected_oe property

protected ConsoleManager,Mosa.Kernel.x86 consoleManager
Résultat ConsoleManager

row protected_oe property

protected uint row
Résultat uint

scrollRow protected_oe property

protected uint scrollRow
Résultat uint

text protected_oe property

protected byte[] text
Résultat byte[]

textcolor protected_oe property

protected byte[] textcolor
Résultat byte[]