C# Class Display.DisplayDriver

Show file Open project: vogon101/BasicOS Class Usage Examples

Protected Properties

Property Type Description
screen VGAScreen

Public Methods

Method Description
DisplayDriver ( ) : Cosmos.HAL
clear ( ) : void
clear ( int c ) : void
fillArea ( int startX, int startY, int endX, int endY, int colour ) : void
getHeight ( ) : int
getPixel ( int x, int y ) : byte
getWidth ( ) : int
init ( ) : void
setPixel ( int x, int y, int c ) : void
setPixelRaw ( int x, int y, int c ) : void
step ( ) : void

Method Details

DisplayDriver() public method

public DisplayDriver ( ) : Cosmos.HAL
return Cosmos.HAL

clear() public method

public clear ( ) : void
return void

clear() public method

public clear ( int c ) : void
c int
return void

fillArea() public method

public fillArea ( int startX, int startY, int endX, int endY, int colour ) : void
startX int
startY int
endX int
endY int
colour int
return void

getHeight() public method

public getHeight ( ) : int
return int

getPixel() public method

public getPixel ( int x, int y ) : byte
x int
y int
return byte

getWidth() public method

public getWidth ( ) : int
return int

init() public method

public init ( ) : void
return void

setPixel() public method

public setPixel ( int x, int y, int c ) : void
x int
y int
c int
return void

setPixelRaw() public method

public setPixelRaw ( int x, int y, int c ) : void
x int
y int
c int
return void

step() public method

public step ( ) : void
return void

Property Details

screen protected property

protected VGAScreen screen
return VGAScreen