C# Class kOS.TermWindow

Inheritance: UnityEngine.MonoBehaviour
Show file Open project: Nivekk/KOS Class Usage Examples

Public Properties

Property Type Description
BUTTON_GLOW_GREEN Color
BUTTON_GLOW_GREEN_ALPHA Color
ButtonDrawInfos List
ButtonImage UnityEngine.Texture2D
CHARSIZE int
CHARS_PER_ROW int
CLOSEBUTTON_RECT UnityEngine.Rect
COLOR Color
COLOR_ALPHA Color
Core Core
Cpu CPU
FontImage UnityEngine.Texture2D
TEXTCOLOR Color
TEXTCOLOR_ALPHA Color
TerminalImage UnityEngine.Texture2D
ThrottleLock float
XBGOFFSET int
XOFFSET int
YBGOFFSET int
YOFFSET int
allTexturesFound bool

Public Methods

Method Description
Awake ( ) : void
ClearScreen ( ) : void
Close ( ) : void
LoadTexture ( String relativePath, Texture2D &targetTexture ) : void
Open ( ) : void
SetOptionPilcrows ( bool val ) : void
Toggle ( ) : void

Private Methods

Method Description
AttachTo ( CPU cpu ) : void
Keydown ( KeyCode code ) : void
Lock ( ) : void
OnGUI ( ) : void
PrintLine ( string line ) : void
ProcessKeyStrokes ( ) : void
ShowCharacterByAscii ( char ch, int x, int y, Color textColor ) : void
ShowCharacterByXY ( int x, int y, int tx, int ty, Color textColor ) : void
SpecialKey ( kOSKeys key ) : void
TermWindow ( ) : System
TerminalGui ( int windowID ) : void
Type ( char ch ) : void
Unlock ( ) : void
Update ( ) : void
drawButton ( FunctionButtonDrawInfo drawInfo ) : void

Method Details

Awake() public method

public Awake ( ) : void
return void

ClearScreen() public method

public ClearScreen ( ) : void
return void

Close() public method

public Close ( ) : void
return void

LoadTexture() public method

public LoadTexture ( String relativePath, Texture2D &targetTexture ) : void
relativePath String
targetTexture UnityEngine.Texture2D
return void

Open() public method

public Open ( ) : void
return void

SetOptionPilcrows() public method

public SetOptionPilcrows ( bool val ) : void
val bool
return void

Toggle() public method

public Toggle ( ) : void
return void

Property Details

BUTTON_GLOW_GREEN public static property

public static Color BUTTON_GLOW_GREEN
return Color

BUTTON_GLOW_GREEN_ALPHA public static property

public static Color BUTTON_GLOW_GREEN_ALPHA
return Color

ButtonDrawInfos public property

public List ButtonDrawInfos
return List

ButtonImage public static property

public static Texture2D,UnityEngine ButtonImage
return UnityEngine.Texture2D

CHARSIZE public static property

public static int CHARSIZE
return int

CHARS_PER_ROW public static property

public static int CHARS_PER_ROW
return int

CLOSEBUTTON_RECT public static property

public static Rect,UnityEngine CLOSEBUTTON_RECT
return UnityEngine.Rect

COLOR public static property

public static Color COLOR
return Color

COLOR_ALPHA public static property

public static Color COLOR_ALPHA
return Color

Core public property

public Core,kOS Core
return Core

Cpu public property

public CPU,kOS Cpu
return CPU

FontImage public static property

public static Texture2D,UnityEngine FontImage
return UnityEngine.Texture2D

TEXTCOLOR public static property

public static Color TEXTCOLOR
return Color

TEXTCOLOR_ALPHA public static property

public static Color TEXTCOLOR_ALPHA
return Color

TerminalImage public static property

public static Texture2D,UnityEngine TerminalImage
return UnityEngine.Texture2D

ThrottleLock public static property

public static float ThrottleLock
return float

XBGOFFSET public static property

public static int XBGOFFSET
return int

XOFFSET public static property

public static int XOFFSET
return int

YBGOFFSET public static property

public static int YBGOFFSET
return int

YOFFSET public static property

public static int YOFFSET
return int

allTexturesFound public property

public bool allTexturesFound
return bool