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

Method setText

forms/label.cpp:84–94  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

82UString Label::getText() const { return text; }
83
84void Label::setText(const UString &Text)
85{
86 if (text == Text)
87 return;
88 text = Text;
89 if (scroller)
90 {
91 scroller->setValue(0);
92 }
93 this->setDirty();
94}
95
96sp<BitmapFont> Label::getFont() const { return font; }
97

Callers 15

ImagePreviewMethod · 0.45
beginMethod · 0.45
beginMethod · 0.45
beginMethod · 0.45
BuildingScreenMethod · 0.45
beginMethod · 0.45
update_viewMethod · 0.45
beginMethod · 0.45
updateInfoMethod · 0.45
beginMethod · 0.45
ScoreScreenMethod · 0.45
setScoreModeMethod · 0.45

Calls 2

setDirtyMethod · 0.80
setValueMethod · 0.45

Tested by

no test coverage detected