Maintenance: B4': DrawColoredText/DrawStyledColoredText/DrawOutlinedText/DrawOutlinedColoredText are UIWindow thiscall members in the
Batch #18182 by ragnarok-clanker: forced by an admin (6 lower score(s), 45 changed function(s)); checked with 415 compiled unit(s), including every includer of Source/UI/Text/ColoredText.h, Source/UI/Window/UIWindow.h.
This commit is contained in:
parent
7a34674c80
commit
38f040504e
28 changed files with 112 additions and 119 deletions
|
|
@ -213,11 +213,11 @@ void UITextViewer::Paint() {
|
|||
const auto bytes = static_cast<unsigned>(line.size());
|
||||
|
||||
if (plain) {
|
||||
DrawOutlinedText(*this, 3, y, line.c_str(), bytes, 0, 0xFFFFFF, 0, 12, 0, 0);
|
||||
this->DrawOutlinedText(3, y, line.c_str(), bytes, 0, 0xFFFFFF, 0, 12, 0, 0);
|
||||
} else if (this->outline != 0) {
|
||||
DrawOutlinedColoredText(*this, 3, y, line.c_str(), bytes, color, this->backgroundColor, 0, 12, this->bold);
|
||||
this->DrawOutlinedColoredText(3, y, line.c_str(), bytes, color, this->backgroundColor, 0, 12, this->bold);
|
||||
} else {
|
||||
DrawColoredText(*this, 3, y, line.c_str(), bytes, color, 0, 12, false);
|
||||
this->DrawColoredText(3, y, line.c_str(), bytes, color, 0, 12, false);
|
||||
}
|
||||
}
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue