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

Method setMax

src/Interface/Bar.cpp:106–110  ·  view source on GitHub ↗

* Changes the maximum value used to draw the outer border. * @param max Maximum value. */

Source from the content-addressed store, hash-verified

104 * @param max Maximum value.
105 */
106void Bar::setMax(double max)
107{
108 _max = max;
109 _redraw = true;
110}
111
112/**
113 * Returns the maximum value used to draw the outer border.

Callers 4

updateSoldierInfoMethod · 0.80
initMethod · 0.80
initMethod · 0.80
initMethod · 0.80

Calls

no outgoing calls

Tested by

no test coverage detected