C# Class kOS.Screen.KOSToolbarWindow

Inheritance: UnityEngine.MonoBehaviour
ファイルを表示 Open project: KSP-KOS/KOS

Public Methods

Method Description
AddBlizzyButton ( ) : void
AddButton ( ) : void
Awake ( ) : void
BeginHoverHousekeeping ( ) : void
CallbackOnClickBlizzy ( ) : void
CallbackOnDisable ( ) : void

Callback for when the button is hidden or disabled by the application launcher

CallbackOnEnable ( ) : void

Callback for when the button is shown or enabled by the application launcher

CallbackOnFalse ( ) : void

Callback for when the button is toggled off

CallbackOnHide ( ) : void

Callback for when the application launcher hides itself

CallbackOnHover ( ) : void

Callback for when the mouse is hovering over the button

CallbackOnHoverOut ( ) : void

Callback for when the mouse is hover is off the button

CallbackOnShow ( ) : void

Callback for when the application launcher shows itself

CallbackOnTrue ( ) : void

Callback for when the button is toggled on

CheckHoverOnPreviousGUIElement ( Part part ) : void

Whatever the most recent GUILayout element was, remember the part it was for if the mouse was hovering in it.

Close ( ) : void
DrawWindow ( int windowID ) : void
EndHoverHousekeeping ( ) : void

Control the highlighting of parts in the vessel depending on whether or not the mouse was hovering in the right spot to cause a highlight.

FirstTimeSetup ( ) : void

Unity hates it when a MonoBehaviour has a constructor, so all the construction work is here instead:

GoAway ( ) : void
OnDestroy ( ) : void
OnGUI ( ) : void
Open ( ) : void
RemoveButton ( ) : void
SetupBackingConfigInts ( ) : void

In order to support the changes to solve issue #565 (see github for kOS) we have to store a temp value per integer field, that is NOT the actual official integer value of the field, but just stores the value the user is temporarily typing:

Start ( ) : void

Private Methods

Method Description
BuildPanelSkin ( ) : GUISkin
CountBeginHorizontal ( string debugHelp = "" ) : void
CountBeginVertical ( string debugHelp = "" ) : void
CountEndHorizontal ( string debugHelp = "" ) : void
CountEndVertical ( string debugHelp = "" ) : void
DrawActiveCPUsOnPanel ( ) : void
DrawConfigIntField ( int keyVal, int whichInt ) : int
DrawPart ( Part part ) : void
DrawPartRow ( Part part ) : void
OnHideUI ( ) : void
OnShowUI ( ) : void
TelnetStatusMessage ( ) : string

Method Details

AddBlizzyButton() public method

public AddBlizzyButton ( ) : void
return void

AddButton() public method

public AddButton ( ) : void
return void

Awake() public method

public Awake ( ) : void
return void

BeginHoverHousekeeping() public method

public BeginHoverHousekeeping ( ) : void
return void

CallbackOnClickBlizzy() public method

public CallbackOnClickBlizzy ( ) : void
return void

CallbackOnDisable() public method

Callback for when the button is hidden or disabled by the application launcher
public CallbackOnDisable ( ) : void
return void

CallbackOnEnable() public method

Callback for when the button is shown or enabled by the application launcher
public CallbackOnEnable ( ) : void
return void

CallbackOnFalse() public method

Callback for when the button is toggled off
public CallbackOnFalse ( ) : void
return void

CallbackOnHide() public method

Callback for when the application launcher hides itself
public CallbackOnHide ( ) : void
return void

CallbackOnHover() public method

Callback for when the mouse is hovering over the button
public CallbackOnHover ( ) : void
return void

CallbackOnHoverOut() public method

Callback for when the mouse is hover is off the button
public CallbackOnHoverOut ( ) : void
return void

CallbackOnShow() public method

Callback for when the application launcher shows itself
public CallbackOnShow ( ) : void
return void

CallbackOnTrue() public method

Callback for when the button is toggled on
public CallbackOnTrue ( ) : void
return void

CheckHoverOnPreviousGUIElement() public method

Whatever the most recent GUILayout element was, remember the part it was for if the mouse was hovering in it.
public CheckHoverOnPreviousGUIElement ( Part part ) : void
part Part The part that just had info drawn for it
return void

Close() public method

public Close ( ) : void
return void

DrawWindow() public method

public DrawWindow ( int windowID ) : void
windowID int
return void

EndHoverHousekeeping() public method

Control the highlighting of parts in the vessel depending on whether or not the mouse was hovering in the right spot to cause a highlight.
public EndHoverHousekeeping ( ) : void
return void

FirstTimeSetup() public static method

Unity hates it when a MonoBehaviour has a constructor, so all the construction work is here instead:
public static FirstTimeSetup ( ) : void
return void

GoAway() public method

public GoAway ( ) : void
return void

OnDestroy() public method

public OnDestroy ( ) : void
return void

OnGUI() public method

public OnGUI ( ) : void
return void

Open() public method

public Open ( ) : void
return void

RemoveButton() public method

public RemoveButton ( ) : void
return void

SetupBackingConfigInts() public method

In order to support the changes to solve issue #565 (see github for kOS) we have to store a temp value per integer field, that is NOT the actual official integer value of the field, but just stores the value the user is temporarily typing:
public SetupBackingConfigInts ( ) : void
return void

Start() public method

public Start ( ) : void
return void