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

Method Ticker

forms/ticker.cpp:13–21  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

11{
12
13Ticker::Ticker(sp<BitmapFont> font)
14 : Control(), animating(false), animTimer(0), displayTimer(0), font(font),
15 TextHAlign(HorizontalAlignment::Left), TextVAlign(VerticalAlignment::Top)
16{
17 if (font)
18 {
19 palette = font->getPalette();
20 }
21}
22
23Ticker::~Ticker() = default;
24

Callers

nothing calls this directly

Calls 1

getPaletteMethod · 0.45

Tested by

no test coverage detected