C# Class Mosa.Kernel.x86.ConsoleSession

Mostrar archivo Open project: tgiphil/MOSA-Project Class Usage Examples

Public Properties

Property Type Description
Columns uint
Rows uint

Protected Properties

Property Type Description
color byte
column uint
consoleManager ConsoleManager
row uint
scrollRow uint
text byte[]
textcolor byte[]

Public Methods

Method 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

Protected Methods

Method Description
ScrollUp ( ) : void

Scrolls up.

Private Methods

Method Description
Next ( ) : void

Next Column

Skip ( uint skip ) : void

Skips the specified skip.

Method Details

Clear() public method

Clears this instance.
public Clear ( ) : void
return void

ConsoleSession() public method

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

ConsoleSession() public method

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

GetColor() public method

public GetColor ( byte column, byte row ) : byte
column byte
row byte
return byte

GetText() public method

public GetText ( byte column, byte row ) : char
column byte
row byte
return char

Goto() public method

Sets the cursor.
public Goto ( uint row, uint col ) : void
row uint The row.
col uint The col.
return void

GotoTop() public method

Goto the top.
public GotoTop ( ) : void
return void

ScrollUp() protected method

Scrolls up.
protected ScrollUp ( ) : void
return void

Write() public method

Writes the character.
public Write ( char chr ) : void
chr char The character.
return void

Write() public method

Writes the string to the screen.
public Write ( string value ) : void
value string The string value to write to the screen.
return void

Write() public method

Writes the specified value.
public Write ( uint val ) : void
val uint The val.
return void

Write() public method

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.
return void

WriteLine() public method

Goto the next line.
public WriteLine ( ) : void
return void

WriteLine() public method

Writes the string to the screen.
public WriteLine ( string value ) : void
value string The string value to write to the screen.
return void

WriteLine() public method

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

Property Details

Columns public_oe property

public uint Columns
return uint

Rows public_oe property

public uint Rows
return uint

color protected_oe property

protected byte color
return byte

column protected_oe property

protected uint column
return uint

consoleManager protected_oe property

protected ConsoleManager,Mosa.Kernel.x86 consoleManager
return ConsoleManager

row protected_oe property

protected uint row
return uint

scrollRow protected_oe property

protected uint scrollRow
return uint

text protected_oe property

protected byte[] text
return byte[]

textcolor protected_oe property

protected byte[] textcolor
return byte[]