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
KSP.UI.Screens.PartCategorizerButton Class Reference
Inheritance diagram for KSP.UI.Screens.PartCategorizerButton:
Expansions.Missions.Editor.MEPartCategorizerButton

Public Member Functions

void DisableDividers ()
 
void EnableDividerOverlay ()
 
void EnableDividerSpaceUnder ()
 
void ForceAspect ()
 
void InitializeBtn (string categoryName, string categorydisplayName, RUI.Icons.Selectable.Icon icon, Color color, Color iconColor)
 
void InitializeToggleBtn (string categoryName, string categorydisplayName, RUI.Icons.Selectable.Icon icon, Color color, Color iconColor, bool last=false)
 
void SetIcon (RUI.Icons.Selectable.Icon icon)
 
void SetRadioGroup (int group)
 
void UpdateIconState ()
 

Public Attributes

Button btnGeneric
 
UIRadioButton btnToggleGeneric
 
string categorydisplayName
 
string categoryName
 
UIListItem container
 
Image divider
 
Image dividerBottom
 
Image dividerOverlay
 
Image dividerSpaceUnder
 
PointerEnterExitHandler hoverHandler
 
RUI.Icons.Selectable.Icon icon
 
RawImage iconSprite
 
RawImage iconSpriteToggle
 
Callback OnBtnTap = delegate { }
 
TooltipController_Text tooltipController
 

Properties

UIRadioButton activeButton [get, set]
 
Color color [get, set]
 
string displayCategoryName [get]
 A Localized version of the categoryName field More...
 
Color iconColor [get, set]
 
bool IsToggleBtn [get, set]
 
bool LastBtn [get, set]
 

Member Function Documentation

void KSP.UI.Screens.PartCategorizerButton.DisableDividers ( )
inline
void KSP.UI.Screens.PartCategorizerButton.EnableDividerOverlay ( )
inline
void KSP.UI.Screens.PartCategorizerButton.EnableDividerSpaceUnder ( )
inline
void KSP.UI.Screens.PartCategorizerButton.ForceAspect ( )
inline
void KSP.UI.Screens.PartCategorizerButton.InitializeBtn ( string  categoryName,
string  categorydisplayName,
RUI.Icons.Selectable.Icon  icon,
Color  color,
Color  iconColor 
)
inline
void KSP.UI.Screens.PartCategorizerButton.InitializeToggleBtn ( string  categoryName,
string  categorydisplayName,
RUI.Icons.Selectable.Icon  icon,
Color  color,
Color  iconColor,
bool  last = false 
)
inline
void KSP.UI.Screens.PartCategorizerButton.SetIcon ( RUI.Icons.Selectable.Icon  icon)
inline
void KSP.UI.Screens.PartCategorizerButton.SetRadioGroup ( int  group)
inline
void KSP.UI.Screens.PartCategorizerButton.UpdateIconState ( )
inline

Member Data Documentation

Button KSP.UI.Screens.PartCategorizerButton.btnGeneric
UIRadioButton KSP.UI.Screens.PartCategorizerButton.btnToggleGeneric
string KSP.UI.Screens.PartCategorizerButton.categorydisplayName
string KSP.UI.Screens.PartCategorizerButton.categoryName
UIListItem KSP.UI.Screens.PartCategorizerButton.container
Image KSP.UI.Screens.PartCategorizerButton.divider
Image KSP.UI.Screens.PartCategorizerButton.dividerBottom
Image KSP.UI.Screens.PartCategorizerButton.dividerOverlay
Image KSP.UI.Screens.PartCategorizerButton.dividerSpaceUnder
PointerEnterExitHandler KSP.UI.Screens.PartCategorizerButton.hoverHandler
RUI.Icons.Selectable.Icon KSP.UI.Screens.PartCategorizerButton.icon
RawImage KSP.UI.Screens.PartCategorizerButton.iconSprite
RawImage KSP.UI.Screens.PartCategorizerButton.iconSpriteToggle
Callback KSP.UI.Screens.PartCategorizerButton.OnBtnTap = delegate { }
TooltipController_Text KSP.UI.Screens.PartCategorizerButton.tooltipController

Property Documentation

UIRadioButton KSP.UI.Screens.PartCategorizerButton.activeButton
getset
Color KSP.UI.Screens.PartCategorizerButton.color
getset
string KSP.UI.Screens.PartCategorizerButton.displayCategoryName
get

A Localized version of the categoryName field

Color KSP.UI.Screens.PartCategorizerButton.iconColor
getset
bool KSP.UI.Screens.PartCategorizerButton.IsToggleBtn
getset
bool KSP.UI.Screens.PartCategorizerButton.LastBtn
getset

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