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

Method setMargin

src/Interface/TextList.cpp:632–635  ·  view source on GitHub ↗

* Changes the horizontal margin placed around the text. * @param margin Margin in pixels. */

Source from the content-addressed store, hash-verified

630 * @param margin Margin in pixels.
631 */
632void TextList::setMargin(int margin)
633{
634 _margin = margin;
635}
636
637/**
638 * Returns the margin of the text in the list.

Callers 15

CannotReequipStateMethod · 0.80
PromotionsStateMethod · 0.80
ResearchStateMethod · 0.80
TransfersStateMethod · 0.80
NewResearchListStateMethod · 0.80
TransferBaseStateMethod · 0.80
CraftSoldiersStateMethod · 0.80
ManufactureStateMethod · 0.80
SoldiersStateMethod · 0.80
StoresStateMethod · 0.80

Calls

no outgoing calls

Tested by

no test coverage detected