MCPcopy Create free account
hub / github.com/axmolengine/axmol / setWraps

Method setWraps

extensions/GUI/src/GUI/ControlExtension/ControlStepper.cpp:134–145  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

132//// Properties
133
134void ControlStepper::setWraps(bool wraps)
135{
136 _wraps = wraps;
137
138 if (_wraps)
139 {
140 _minusLabel->setColor(ControlStepperLabelColorEnabled);
141 _plusLabel->setColor(ControlStepperLabelColorEnabled);
142 }
143
144 this->setValue(_value);
145}
146
147void ControlStepper::setMinimumValue(double minimumValue)
148{

Callers

nothing calls this directly

Calls 2

setValueMethod · 0.95
setColorMethod · 0.45

Tested by

no test coverage detected