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

Method setAlign

src/Interface/Text.cpp:226–230  ·  view source on GitHub ↗

* Changes the way the text is aligned horizontally * relative to the drawing area. * @param align Horizontal alignment. */

Source from the content-addressed store, hash-verified

224 * @param align Horizontal alignment.
225 */
226void Text::setAlign(TextHAlign align)
227{
228 _align = align;
229 _redraw = true;
230}
231
232/**
233 * Returns the way the text is aligned horizontally

Callers 15

InfoboxOKStateMethod · 0.45
InventoryStateMethod · 0.45
NoContainmentStateMethod · 0.45
BattlescapeMessageMethod · 0.45
PrimeGrenadeStateMethod · 0.45
NextTurnStateMethod · 0.45
DebriefingStateMethod · 0.45
MedikitTitleMethod · 0.45
MedikitTxtMethod · 0.45
AliensCrashStateMethod · 0.45
UnitInfoStateMethod · 0.45
CannotReequipStateMethod · 0.45

Calls

no outgoing calls

Tested by 3

TestStateMethod · 0.36
ResearchCompleteStateMethod · 0.36