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

Method setGroup

src/Interface/TextButton.cpp:177–181  ·  view source on GitHub ↗

* Changes the button group this button belongs to. * @param group Pointer to the pressed button pointer in the group. * Null makes it a regular button. */

Source from the content-addressed store, hash-verified

175 * Null makes it a regular button.
176 */
177void TextButton::setGroup(TextButton **group)
178{
179 _group = group;
180 _redraw = true;
181}
182
183/**
184 * Replaces a certain amount of colors in the surface's palette.

Callers 6

BattlescapeStateMethod · 0.45
initMethod · 0.45
NewGameStateMethod · 0.45
setCategoryMethod · 0.45
GeoscapeStateMethod · 0.45
DogfightStateMethod · 0.45

Calls

no outgoing calls

Tested by

no test coverage detected