Kerbal Space Program  1.12.4
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Properties Events Macros
Public Member Functions | Public Attributes | Properties | List of all members
UIPartActionToggle Class Reference
Inheritance diagram for UIPartActionToggle:
UIPartActionFieldItem UIPartActionItem

Public Member Functions

void OnTap ()
 
override void Setup (UIPartActionWindow window, Part part, PartModule partModule, UI_Scene scene, UI_Control control, BaseField field)
 
override void UpdateItem ()
 
- Public Member Functions inherited from UIPartActionFieldItem
bool CheckInRange ()
 Checks if the field is within range from the active vessel. More...
 
override bool IsItemValid ()
 
- Public Member Functions inherited from UIPartActionItem
virtual void AddInputFieldLock (string val)
 
virtual void RemoveInputfieldLock ()
 
void SetupItem (UIPartActionWindow window, Part part, PartModule partModule, UI_Scene scene, UI_Control control)
 

Public Attributes

TMPro.TextMeshProUGUI fieldName
 
TMPro.TextMeshProUGUI fieldStatus
 
float heightNoTip = 14
 
float heightWithTip = 28
 
TMPro.TextMeshProUGUI tipText
 
KSP.UI.UIButtonToggle toggle
 

Properties

UI_Toggle toggleControl [get]
 
- Properties inherited from UIPartActionFieldItem
BaseField Field [get]
 
object Host [get]
 
- Properties inherited from UIPartActionItem
UI_Control Control [get]
 
bool IsModule [get]
 
Part Part [get]
 
PartModule PartModule [get]
 
UI_Scene Scene [get]
 
UIPartActionWindow Window [get]
 

Additional Inherited Members

- Protected Member Functions inherited from UIPartActionFieldItem
BaseField GetField (string name)
 
void SetFieldValue (object newValue)
 
bool SetSymCounterpartValue (object value)
 
- Protected Attributes inherited from UIPartActionFieldItem
BaseField field
 
bool isActiveUnfocused
 
float itemRange
 
bool removedIfPinned
 
- Protected Attributes inherited from UIPartActionItem
UI_Control control
 
bool isModule
 
Part part
 
PartModule partModule
 
UI_Scene scene
 
UIPartActionWindow window
 

Member Function Documentation

void UIPartActionToggle.OnTap ( )
inline
override void UIPartActionToggle.Setup ( UIPartActionWindow  window,
Part  part,
PartModule  partModule,
UI_Scene  scene,
UI_Control  control,
BaseField  field 
)
inlinevirtual

Reimplemented from UIPartActionFieldItem.

override void UIPartActionToggle.UpdateItem ( )
inlinevirtual

Reimplemented from UIPartActionItem.

Member Data Documentation

TMPro.TextMeshProUGUI UIPartActionToggle.fieldName
TMPro.TextMeshProUGUI UIPartActionToggle.fieldStatus
float UIPartActionToggle.heightNoTip = 14
float UIPartActionToggle.heightWithTip = 28
TMPro.TextMeshProUGUI UIPartActionToggle.tipText
KSP.UI.UIButtonToggle UIPartActionToggle.toggle

Property Documentation

UI_Toggle UIPartActionToggle.toggleControl
getprotected

The documentation for this class was generated from the following file: