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
|
|
@ -2242,7 +2242,7 @@ void UIListBox_NaviSearch::Paint() {
|
|||
}
|
||||
|
||||
const std::string& line = this->lines[index];
|
||||
DrawColoredText(*this, x, y, line.c_str(), static_cast<unsigned>(line.size()), color, 0, 12, false);
|
||||
this->DrawColoredText(x, y, line.c_str(), static_cast<unsigned>(line.size()), color, 0, 12, false);
|
||||
}
|
||||
}
|
||||
|
||||
|
|
@ -2489,8 +2489,8 @@ void UINavigationV4Wnd::Paint() {
|
|||
this->DrawMapTexture(3, 0x2e, 0x10a);
|
||||
CNaviInfo* info = static_cast<CNaviInfo*>(g_navigationManager.GetCurrentTarget().object);
|
||||
if (info) {
|
||||
DrawOutlinedText(*this, 9, 0x32, info->GetTitle(), 0, 0xffffff, 0, 0, 0xb, 1, 0);
|
||||
DrawOutlinedText(*this, 9, 0x41, info->GetName(), 0, 0xffffff, 0, 0, 0xb, 1, 0);
|
||||
this->DrawOutlinedText(9, 0x32, info->GetTitle(), 0, 0xffffff, 0, 0, 0xb, 1, 0);
|
||||
this->DrawOutlinedText(9, 0x41, info->GetName(), 0, 0xffffff, 0, 0, 0xb, 1, 0);
|
||||
}
|
||||
|
||||
if (static_cast<DWORD>(this->noticeUntil) > timeGetTime()) {
|
||||
|
|
@ -2514,7 +2514,7 @@ void UINavigationV4Wnd::Paint() {
|
|||
WrapPlainText(message.c_str(), lines, 0x26);
|
||||
int y = (0x29 - static_cast<int>(lines.size())) * 7;
|
||||
for (unsigned int index = 0; index < lines.size(); ++index) {
|
||||
DrawOutlinedText(*this, 0x2a, y, lines[index].c_str(), 0, 0xffffff, 0, 0, 0xb, 1, 0);
|
||||
this->DrawOutlinedText(0x2a, y, lines[index].c_str(), 0, 0xffffff, 0, 0, 0xb, 1, 0);
|
||||
y += 0xe;
|
||||
}
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue