C# Class kOS.Screen.KOSToolbarWindow

Inheritance: UnityEngine.MonoBehaviour
Afficher le fichier Open project: KSP-KOS/KOS

Méthodes publiques

Méthode 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

Méthode 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 méthode

public AddBlizzyButton ( ) : void
Résultat void

AddButton() public méthode

public AddButton ( ) : void
Résultat void

Awake() public méthode

public Awake ( ) : void
Résultat void

BeginHoverHousekeeping() public méthode

public BeginHoverHousekeeping ( ) : void
Résultat void

CallbackOnClickBlizzy() public méthode

public CallbackOnClickBlizzy ( ) : void
Résultat void

CallbackOnDisable() public méthode

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

CallbackOnEnable() public méthode

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

CallbackOnFalse() public méthode

Callback for when the button is toggled off
public CallbackOnFalse ( ) : void
Résultat void

CallbackOnHide() public méthode

Callback for when the application launcher hides itself
public CallbackOnHide ( ) : void
Résultat void

CallbackOnHover() public méthode

Callback for when the mouse is hovering over the button
public CallbackOnHover ( ) : void
Résultat void

CallbackOnHoverOut() public méthode

Callback for when the mouse is hover is off the button
public CallbackOnHoverOut ( ) : void
Résultat void

CallbackOnShow() public méthode

Callback for when the application launcher shows itself
public CallbackOnShow ( ) : void
Résultat void

CallbackOnTrue() public méthode

Callback for when the button is toggled on
public CallbackOnTrue ( ) : void
Résultat void

CheckHoverOnPreviousGUIElement() public méthode

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
Résultat void

Close() public méthode

public Close ( ) : void
Résultat void

DrawWindow() public méthode

public DrawWindow ( int windowID ) : void
windowID int
Résultat void

EndHoverHousekeeping() public méthode

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
Résultat void

FirstTimeSetup() public static méthode

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

GoAway() public méthode

public GoAway ( ) : void
Résultat void

OnDestroy() public méthode

public OnDestroy ( ) : void
Résultat void

OnGUI() public méthode

public OnGUI ( ) : void
Résultat void

Open() public méthode

public Open ( ) : void
Résultat void

RemoveButton() public méthode

public RemoveButton ( ) : void
Résultat void

SetupBackingConfigInts() public méthode

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
Résultat void

Start() public méthode

public Start ( ) : void
Résultat void