Kerbal Space Program  1.12.4
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Properties Events Macros
Public Member Functions | Public Attributes | Protected Attributes | Static Protected Attributes | Properties | List of all members
KSP.UI.Screens.Settings.Controls.SettingsKeyboardLayoutInput Class Reference

Settings control to display available layouts settings More...

Inheritance diagram for KSP.UI.Screens.Settings.Controls.SettingsKeyboardLayoutInput:
KSP.UI.Screens.Settings.Controls.SettingsControlBase

Public Member Functions

void CleanLayout ()
 Cleans the layout selection More...
 
void Init (SettingsLayoutConfig config)
 
void LoadCurrentLayout ()
 Loads the current selected layout into the game settings More...
 
override void OnApply ()
 On settings apply button trigger, this apply the layout settings to the settings.cfg More...
 
override void OnRevert ()
 On settings revert button trigger, Reverts all the changes made More...
 
void SetKeysLayout ()
 Sets the keys defaults values More...
 
- Public Member Functions inherited from KSP.UI.Screens.Settings.Controls.SettingsControlBase
virtual bool IsValid ()
 
void SetTitleText (string title)
 

Public Attributes

TMPro.TextMeshProUGUI layoutName
 
Button nextButton
 
Button prevButton
 
- Public Attributes inherited from KSP.UI.Screens.Settings.Controls.SettingsControlBase
TMPro.TextMeshProUGUI titleText
 

Protected Attributes

SettingsLayoutConfig settingsLayoutConfig
 

Static Protected Attributes

static bool layoutChangeWarning = false
 

Properties

ConfigNode LayoutConfig [get]
 
string SelectedLayout [get]
 
- Properties inherited from KSP.UI.Screens.Settings.Controls.SettingsControlBase
bool IgnoreEmptySetting [get, set]
 

Detailed Description

Settings control to display available layouts settings

Member Function Documentation

void KSP.UI.Screens.Settings.Controls.SettingsKeyboardLayoutInput.CleanLayout ( )
inline

Cleans the layout selection

void KSP.UI.Screens.Settings.Controls.SettingsKeyboardLayoutInput.Init ( SettingsLayoutConfig  config)
inline
void KSP.UI.Screens.Settings.Controls.SettingsKeyboardLayoutInput.LoadCurrentLayout ( )
inline

Loads the current selected layout into the game settings

override void KSP.UI.Screens.Settings.Controls.SettingsKeyboardLayoutInput.OnApply ( )
inlinevirtual

On settings apply button trigger, this apply the layout settings to the settings.cfg

Reimplemented from KSP.UI.Screens.Settings.Controls.SettingsControlBase.

override void KSP.UI.Screens.Settings.Controls.SettingsKeyboardLayoutInput.OnRevert ( )
inlinevirtual

On settings revert button trigger, Reverts all the changes made

Reimplemented from KSP.UI.Screens.Settings.Controls.SettingsControlBase.

void KSP.UI.Screens.Settings.Controls.SettingsKeyboardLayoutInput.SetKeysLayout ( )
inline

Sets the keys defaults values

Member Data Documentation

bool KSP.UI.Screens.Settings.Controls.SettingsKeyboardLayoutInput.layoutChangeWarning = false
staticprotected
TMPro.TextMeshProUGUI KSP.UI.Screens.Settings.Controls.SettingsKeyboardLayoutInput.layoutName
Button KSP.UI.Screens.Settings.Controls.SettingsKeyboardLayoutInput.nextButton
Button KSP.UI.Screens.Settings.Controls.SettingsKeyboardLayoutInput.prevButton
SettingsLayoutConfig KSP.UI.Screens.Settings.Controls.SettingsKeyboardLayoutInput.settingsLayoutConfig
protected

Property Documentation

ConfigNode KSP.UI.Screens.Settings.Controls.SettingsKeyboardLayoutInput.LayoutConfig
get
string KSP.UI.Screens.Settings.Controls.SettingsKeyboardLayoutInput.SelectedLayout
get

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