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

Method setBig

src/Interface/TextList.cpp:564–574  ·  view source on GitHub ↗

* Changes the text list to use the big-size font. */

Source from the content-addressed store, hash-verified

562 * Changes the text list to use the big-size font.
563 */
564void TextList::setBig()
565{
566 _font = _big;
567
568 delete _selector;
569 _selector = new Surface(getWidth(), _font->getHeight() + _font->getSpacing(), getX(), getY());
570 _selector->setPalette(getPalette());
571 _selector->setVisible(false);
572
573 updateVisible();
574}
575
576/**
577 * Changes the text list to use the small-size font.

Callers 1

addRowMethod · 0.45

Calls 4

getSpacingMethod · 0.80
getHeightMethod · 0.45
setPaletteMethod · 0.45
setVisibleMethod · 0.45

Tested by

no test coverage detected