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
UI_Toggle Class Reference
Inheritance diagram for UI_Toggle:
UI_Control

Public Member Functions

override void Load (ConfigNode node, object host)
 
override void Save (ConfigNode node, object host)
 
- Public Member Functions inherited from UI_Control
void SetSceneVisibility (UI_Scene scene, bool state)
 
void Setup (BaseField field)
 

Public Attributes

string disabledText = "#autoLOC_6001071"
 
string enabledText = "#autoLOC_6001072"
 
bool invertButton = false
 
string tipText = ""
 
- Public Attributes inherited from UI_Control
UI_Scene affectSymCounterparts = UI_Scene.Editor
 
bool controlEnabled = true
 
Callback< BaseField, object > onFieldChanged = null
 
Callback< BaseField, object > onSymmetryFieldChanged = null
 
UIPartActionItem partActionItem = null
 
bool requireFullControl = false
 Does this require full, not just partial, control? More...
 
UI_Scene scene = UI_Scene.All
 
bool suppressEditorShipModified = false
 

Properties

string displayDisabledText [get]
 Localized disabled text More...
 
string displayEnabledText [get]
 Localized enabled text More...
 

Additional Inherited Members

- Static Protected Member Functions inherited from UI_Control
static bool ParseEnabled (out bool value, ConfigNode node, string valueName, string FieldUIControlName)
 
static bool ParseFloat (out float value, ConfigNode node, string valueName, string FieldUIControlName, string errorNoValue)
 
static bool ParseString (out string value, ConfigNode node, string valueName, string FieldUIControlName, string errorNoValue)
 
- Protected Attributes inherited from UI_Control
BaseField field
 

Member Function Documentation

override void UI_Toggle.Load ( ConfigNode  node,
object  host 
)
inlinevirtual

Reimplemented from UI_Control.

override void UI_Toggle.Save ( ConfigNode  node,
object  host 
)
inlinevirtual

Reimplemented from UI_Control.

Member Data Documentation

string UI_Toggle.disabledText = "#autoLOC_6001071"
string UI_Toggle.enabledText = "#autoLOC_6001072"
bool UI_Toggle.invertButton = false
string UI_Toggle.tipText = ""

Property Documentation

string UI_Toggle.displayDisabledText
get

Localized disabled text

string UI_Toggle.displayEnabledText
get

Localized enabled text


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