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

Method setHighContrast

src/Interface/Text.cpp:215–219  ·  view source on GitHub ↗

* Enables/disables high contrast color. Mostly used for * Battlescape UI. * @param contrast High contrast setting. */

Source from the content-addressed store, hash-verified

213 * @param contrast High contrast setting.
214 */
215void Text::setHighContrast(bool contrast)
216{
217 _contrast = contrast;
218 _redraw = true;
219}
220
221/**
222 * Changes the way the text is aligned horizontally

Callers 15

applyBattlescapeThemeMethod · 0.45
InfoboxOKStateMethod · 0.45
MapMethod · 0.45
InventoryStateMethod · 0.45
BattlescapeMessageMethod · 0.45
MiniMapStateMethod · 0.45
ActionMenuItemMethod · 0.45
PrimeGrenadeStateMethod · 0.45
NextTurnStateMethod · 0.45
MedikitTitleMethod · 0.45
MedikitTxtMethod · 0.45
MedikitStateMethod · 0.45

Calls

no outgoing calls

Tested by

no test coverage detected