C# 클래스 kOS.Screen.KOSToolbarWindow

상속: UnityEngine.MonoBehaviour
파일 보기 프로젝트 열기: KSP-KOS/KOS

공개 메소드들

메소드 설명
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

비공개 메소드들

메소드 설명
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

메소드 상세

AddBlizzyButton() 공개 메소드

public AddBlizzyButton ( ) : void
리턴 void

AddButton() 공개 메소드

public AddButton ( ) : void
리턴 void

Awake() 공개 메소드

public Awake ( ) : void
리턴 void

BeginHoverHousekeeping() 공개 메소드

public BeginHoverHousekeeping ( ) : void
리턴 void

CallbackOnClickBlizzy() 공개 메소드

public CallbackOnClickBlizzy ( ) : void
리턴 void

CallbackOnDisable() 공개 메소드

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

CallbackOnEnable() 공개 메소드

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

CallbackOnFalse() 공개 메소드

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

CallbackOnHide() 공개 메소드

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

CallbackOnHover() 공개 메소드

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

CallbackOnHoverOut() 공개 메소드

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

CallbackOnShow() 공개 메소드

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

CallbackOnTrue() 공개 메소드

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

CheckHoverOnPreviousGUIElement() 공개 메소드

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
리턴 void

Close() 공개 메소드

public Close ( ) : void
리턴 void

DrawWindow() 공개 메소드

public DrawWindow ( int windowID ) : void
windowID int
리턴 void

EndHoverHousekeeping() 공개 메소드

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
리턴 void

FirstTimeSetup() 공개 정적인 메소드

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

GoAway() 공개 메소드

public GoAway ( ) : void
리턴 void

OnDestroy() 공개 메소드

public OnDestroy ( ) : void
리턴 void

OnGUI() 공개 메소드

public OnGUI ( ) : void
리턴 void

Open() 공개 메소드

public Open ( ) : void
리턴 void

RemoveButton() 공개 메소드

public RemoveButton ( ) : void
리턴 void

SetupBackingConfigInts() 공개 메소드

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
리턴 void

Start() 공개 메소드

public Start ( ) : void
리턴 void