Class CheckBox
- Namespace
- Menu
- Assembly
- Assembly-CSharp.dll
public class CheckBox : ButtonTemplate, SelectableMenuObject, ButtonMenuObject
- Inheritance
-
CheckBox
- Implements
- Inherited Members
Constructors
CheckBox(Menu, MenuObject, IOwnCheckBox, Vector2, float, string, string, bool)
public CheckBox(Menu menu, MenuObject owner, CheckBox.IOwnCheckBox reportTo, Vector2 pos, float textWidth, string displayText, string IDString, bool textOnRight = false)
Parameters
menuMenuownerMenuObjectreportToCheckBox.IOwnCheckBoxposVector2textWidthfloatdisplayTextstringIDStringstringtextOnRightbool
Fields
IDString
public string IDString
Field Value
brightColor
public bool brightColor
Field Value
displayText
public string displayText
Field Value
label
public MenuLabel label
Field Value
lastSymbolHalfVisible
public float lastSymbolHalfVisible
Field Value
reportTo
public CheckBox.IOwnCheckBox reportTo
Field Value
roundedRect
public RoundedRect roundedRect
Field Value
selectable
public bool selectable
Field Value
symbolHalfVisible
public float symbolHalfVisible
Field Value
symbolSprite
public FSprite symbolSprite
Field Value
Properties
Checked
public bool Checked { get; set; }
Property Value
CurrentlySelectableMouse
public override bool CurrentlySelectableMouse { get; }
Property Value
CurrentlySelectableNonMouse
public override bool CurrentlySelectableNonMouse { get; }
Property Value
Methods
Clicked()
public override void Clicked()
GrafUpdate(float)
public override void GrafUpdate(float timeStacker)
Parameters
timeStackerfloat
MyColor(float)
public override Color MyColor(float timeStacker)
Parameters
timeStackerfloat
Returns
- Color
RemoveSprites()
public override void RemoveSprites()
Update()
public override void Update()