MCPcopy Create free account
hub / github.com/OpenXcom/OpenXcom / setRange

Method setRange

src/Interface/Slider.cpp:207–212  ·  view source on GitHub ↗

* Changes the range of values the slider * can contain. * @param min Minimum value. * @param max Maximum value. */

Source from the content-addressed store, hash-verified

205 * @param max Maximum value.
206 */
207void Slider::setRange(int min, int max)
208{
209 _min = min;
210 _max = max;
211 setValue(_value);
212}
213
214/**
215 * Changes the current value of the slider and

Callers 4

OptionsAudioStateMethod · 0.45
NewBattleStateMethod · 0.45
OptionsGeoscapeStateMethod · 0.45

Calls

no outgoing calls

Tested by

no test coverage detected