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

Method setInvert

src/Interface/Bar.cpp:173–177  ·  view source on GitHub ↗

* Enables/disables color inverting. Some bars have * darker borders and others have lighter borders. * @param invert Invert setting. */

Source from the content-addressed store, hash-verified

171 * @param invert Invert setting.
172 */
173void Bar::setInvert(bool invert)
174{
175 _invert = invert;
176 _redraw = true;
177}
178
179/**
180 * Draws the bordered bar filled according

Callers 2

SoldierInfoStateMethod · 0.45
drawMethod · 0.45

Calls

no outgoing calls

Tested by

no test coverage detected