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

Method setValue

src/Interface/Bar.cpp:125–129  ·  view source on GitHub ↗

* Changes the value used to draw the inner contents. * @param value Current value. */

Source from the content-addressed store, hash-verified

123 * @param value Current value.
124 */
125void Bar::setValue(double value)
126{
127 _value = value;
128 _redraw = true;
129}
130
131/**
132 * Returns the value used to draw the inner contents.

Callers 15

drawTerrainMethod · 0.45
BattlescapeStateMethod · 0.45
btnShowLayersClickMethod · 0.45
updateSoldierInfoMethod · 0.45
initMethod · 0.45
drawItemsMethod · 0.45
initMethod · 0.45
initMethod · 0.45
OptionsAudioStateMethod · 0.45
loadMethod · 0.45
btnRandomClickMethod · 0.45
OptionsGeoscapeStateMethod · 0.45

Calls

no outgoing calls

Tested by 1

TestStateMethod · 0.36