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 | List of all members
KSP.UI.Screens.StageIconInfoBox Class Reference
Inheritance diagram for KSP.UI.Screens.StageIconInfoBox:

Public Member Functions

void Collapse ()
 collapses the icon back to it's default state More...
 
void Expand ()
 expands the icon to show additional information More...
 
void SetCaption (string cap)
 
void SetMessage (string m)
 
void SetMsgBgColor (Color c)
 
void SetMsgTextColor (Color c)
 
void SetProgressBarBgColor (Color c)
 
void SetProgressBarColor (Color c)
 
void SetValue (float value)
 
void SetValue (float value, float min, float max)
 

Public Attributes

bool expanded
 
float valueDifferenceBeforeSliderUpdate = 0.01f
 Difference in values between the last slider update and the current one before the slider value is actually changed. More...
 

Protected Attributes

TMPro.TextMeshProUGUI caption
 
Slider slider
 
Image sliderBg
 
Image sliderFill
 
TMPro.TextMeshProUGUI title
 
Image titleBg
 

Member Function Documentation

void KSP.UI.Screens.StageIconInfoBox.Collapse ( )
inline

collapses the icon back to it's default state

void KSP.UI.Screens.StageIconInfoBox.Expand ( )
inline

expands the icon to show additional information

void KSP.UI.Screens.StageIconInfoBox.SetCaption ( string  cap)
inline
void KSP.UI.Screens.StageIconInfoBox.SetMessage ( string  m)
inline
void KSP.UI.Screens.StageIconInfoBox.SetMsgBgColor ( Color  c)
inline
void KSP.UI.Screens.StageIconInfoBox.SetMsgTextColor ( Color  c)
inline
void KSP.UI.Screens.StageIconInfoBox.SetProgressBarBgColor ( Color  c)
inline
void KSP.UI.Screens.StageIconInfoBox.SetProgressBarColor ( Color  c)
inline
void KSP.UI.Screens.StageIconInfoBox.SetValue ( float  value)
inline
void KSP.UI.Screens.StageIconInfoBox.SetValue ( float  value,
float  min,
float  max 
)
inline

Member Data Documentation

TMPro.TextMeshProUGUI KSP.UI.Screens.StageIconInfoBox.caption
protected
bool KSP.UI.Screens.StageIconInfoBox.expanded
Slider KSP.UI.Screens.StageIconInfoBox.slider
protected
Image KSP.UI.Screens.StageIconInfoBox.sliderBg
protected
Image KSP.UI.Screens.StageIconInfoBox.sliderFill
protected
TMPro.TextMeshProUGUI KSP.UI.Screens.StageIconInfoBox.title
protected
Image KSP.UI.Screens.StageIconInfoBox.titleBg
protected
float KSP.UI.Screens.StageIconInfoBox.valueDifferenceBeforeSliderUpdate = 0.01f

Difference in values between the last slider update and the current one before the slider value is actually changed.


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