MCPcopy Create free account
hub / github.com/OpenApoc/OpenApoc / getFontHeight

Method getFontHeight

game/ui/components/controlgenerator.cpp:686–693  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

684}
685
686int ControlGenerator::getFontHeight(GameState &state)
687{
688 if (!singleton.initialised)
689 {
690 singleton.init(state);
691 }
692 return singleton.labelFont->getFontHeight();
693}
694
695sp<Control> ControlGenerator::createAgentControl(GameState &state, sp<Agent> a,
696 UnitSelectionState forcedSelectionState,

Callers 9

FormPreviewMethod · 0.45
createLabControlMethod · 0.45
updateAgentsMethod · 0.45
MessageBoxMethod · 0.45
beginMethod · 0.45

Calls 1

initMethod · 0.45

Tested by

no test coverage detected