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

Method setVerticalAlign

src/Interface/Text.cpp:247–251  ·  view source on GitHub ↗

* Changes the way the text is aligned vertically * relative to the drawing area. * @param valign Vertical alignment. */

Source from the content-addressed store, hash-verified

245 * @param valign Vertical alignment.
246 */
247void Text::setVerticalAlign(TextVAlign valign)
248{
249 _valign = valign;
250 _redraw = true;
251}
252
253/**
254 * Changes the color used to render the text. Unlike regular graphics,

Callers 15

InfoboxOKStateMethod · 0.45
BattlescapeMessageMethod · 0.45
PrimeGrenadeStateMethod · 0.45
AliensCrashStateMethod · 0.45
InfoboxStateMethod · 0.45
WarningMessageMethod · 0.45
buildUiMethod · 0.45
createMethod · 0.45
OptionsNoAudioStateMethod · 0.45
NewGameStateMethod · 0.45
TestStateMethod · 0.45

Calls

no outgoing calls

Tested by 2

TestStateMethod · 0.36