CheckBox

Inherited: None

Description

The CheckBox class represents an option button that can be toggled between two states: “on” or “off.” It is commonly used in graphical user interfaces (GUIs) to allow users to select or deselect specific options or features, often in forms or settings.

Public Methods

Vector4

knobColor () const

Image *

knobGraphic () const

void

setKnobColor (const Vector4 color)

void

setKnobGraphic (Image * knob)

Static Methods

None

Methods Description

Vector4 CheckBox::knobColor () const

Returns the color of the graphical knob.

See also setKnobColor().


Image * CheckBox::knobGraphic () const

Returns the graphical knob component.

See also setKnobGraphic().


void CheckBox::setKnobColor (Vector4 color)

Sets the color of the graphical knob.

See also knobColor().


void CheckBox::setKnobGraphic (Image * knob)

Sets the graphical knob component.

See also *knob*Graphic().