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

Method setColor2

src/Interface/Bar.cpp:68–72  ·  view source on GitHub ↗

* Changes the color used to draw the second contents. * @param color Color value. */

Source from the content-addressed store, hash-verified

66 * @param color Color value.
67 */
68void Bar::setColor2(Uint8 color)
69{
70 _color2 = color;
71 _redraw = true;
72}
73
74/**
75 * Returns the second color used to draw the bar.

Callers 3

BattlescapeStateMethod · 0.80
UnitInfoStateMethod · 0.80
SoldierInfoStateMethod · 0.80

Calls

no outgoing calls

Tested by

no test coverage detected