C# Class ProgCom.Monitor

Exibir arquivo Open project: Binamrad/ProgCom Class Usage Examples

Protected Properties

Property Type Description
windowID int
windowPos UnityEngine.Rect

Public Methods

Method Description
OnStart ( PartModule state ) : void
OnUpdate ( ) : void
connect ( ) : void
disconnect ( ) : void
draw ( ) : void
getSegment ( int id ) : int>.Tuple
getSegmentCount ( ) : int
memRead ( ushort position ) : int
memWrite ( ushort position, int value ) : void
recGUIState ( GUIStates g ) : void
recInterruptHandle ( InterruptHandle seg ) : void
tick ( int ticks ) : void

Protected Methods

Method Description
drawImage ( ) : void
putPixel ( int color ) : void
streamPixels ( ) : void
windowGUI ( int windowID ) : void

Private Methods

Method Description
clearScreen ( Color32 c ) : void
fontDraw ( Color32 colA, Color32 colB, System.UInt64 charBits, int pointer ) : void
getDefaultColors ( ) : System.Int32[]
getDefaultFont ( ) : System.UInt32[]
updateColors ( ) : void

Method Details

OnStart() public method

public OnStart ( PartModule state ) : void
state PartModule
return void

OnUpdate() public method

public OnUpdate ( ) : void
return void

connect() public method

public connect ( ) : void
return void

disconnect() public method

public disconnect ( ) : void
return void

draw() public method

public draw ( ) : void
return void

drawImage() protected method

protected drawImage ( ) : void
return void

getSegment() public method

public getSegment ( int id ) : int>.Tuple
id int
return int>.Tuple

getSegmentCount() public method

public getSegmentCount ( ) : int
return int

memRead() public method

public memRead ( ushort position ) : int
position ushort
return int

memWrite() public method

public memWrite ( ushort position, int value ) : void
position ushort
value int
return void

putPixel() protected method

protected putPixel ( int color ) : void
color int
return void

recGUIState() public method

public recGUIState ( GUIStates g ) : void
g GUIStates
return void

recInterruptHandle() public method

public recInterruptHandle ( InterruptHandle seg ) : void
seg InterruptHandle
return void

streamPixels() protected method

protected streamPixels ( ) : void
return void

tick() public method

public tick ( int ticks ) : void
ticks int
return void

windowGUI() protected method

protected windowGUI ( int windowID ) : void
windowID int
return void

Property Details

windowID protected_oe property

protected int windowID
return int

windowPos protected_oe property

protected Rect,UnityEngine windowPos
return UnityEngine.Rect