rodecomp/Source/UI/Text/UICharInfoBalloonText.cpp
ragnarok-clanker 0029665586 Maintenance: Stage 0 resubmit (identical to #10090; that and #10084 failed only on Source/Client/Session.cpp with an empty log, consi
Batch #10096 by ragnarok-clanker: forced by an admin (72 lower score(s), 364 changed function(s)); checked with 394 compiled unit(s), including every includer of Source/UI/Window/UIWindow.h.
2026-11-02 16:03:53 +00:00

16 lines
552 B
C++

#include "UI/Text/UICharInfoBalloonText.h"
// OFFSET: 0x0092BCE0
// FUNCTION: fn_12661
void UICharInfoBalloonText::Paint() {
this->ClearSurface(0xFFFF00FF);
int y = 6;
for (unsigned int i = 0; i < this->m_lines.size(); ++i) {
const bool rightColumn = (i & 1) != 0;
this->DrawShadowedText(rightColumn ? 50 : 6, y, this->m_lines[i].c_str(), 0, this->m_textColor, this->m_outlineColor, 0, this->m_fontHeight, 0);
if (rightColumn) {
y += this->TextHeight(this->m_lines[i].c_str(), 0, 0, this->m_fontHeight, 0, 0) + 4;
}
}
}