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

Public Member Functions

void Reset ()
 
void Select ()
 
void Setup (UIPartActionVariantSelector selectorReference, int index, string hexPrimaryColor, string hexSecondaryColor)
 Setup the Part Variant Button More...
 

Public Attributes

Button buttonMain
 
Image imageInvalid
 
Image imagePrimaryColor
 
Image imageSecomdaryColor
 
Image imageSelected
 

Properties

bool Locked [get, set]
 

Member Function Documentation

void UIPartActionVariantButton.Reset ( )
inline
void UIPartActionVariantButton.Select ( )
inline
void UIPartActionVariantButton.Setup ( UIPartActionVariantSelector  selectorReference,
int  index,
string  hexPrimaryColor,
string  hexSecondaryColor 
)
inline

Setup the Part Variant Button

Parameters
selectorReferenceReference to the related variant selector
indexThe index for the button in the list
hexPrimaryColorThe primary color as a hex string
hexSecondaryColorThe secondary color as a hex string

Member Data Documentation

Button UIPartActionVariantButton.buttonMain
Image UIPartActionVariantButton.imageInvalid
Image UIPartActionVariantButton.imagePrimaryColor
Image UIPartActionVariantButton.imageSecomdaryColor
Image UIPartActionVariantButton.imageSelected

Property Documentation

bool UIPartActionVariantButton.Locked
getset

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