mirror of
https://github.com/edubart/otclient.git
synced 2025-12-21 16:07:12 +01:00
rework on graphics.cpp, implement some GFX with lua
This commit is contained in:
@@ -30,7 +30,7 @@ void UILabel::loadStyleFromOTML(const OTMLNodePtr& styleNode)
|
||||
|
||||
void UILabel::render()
|
||||
{
|
||||
getFont()->renderText(m_text, getGeometry(), m_align, getColor());
|
||||
getFont()->renderText(m_text, getGeometry(), m_align, m_fontColor);
|
||||
}
|
||||
|
||||
void UILabel::resizeToText()
|
||||
|
||||
Reference in New Issue
Block a user