tibia-client/src/framework/ui/uilabel.cpp

12 lines
234 B
C++
Raw Normal View History

2011-07-13 23:12:36 +02:00
#include <global.h>
2011-04-17 21:14:24 +02:00
#include <ui/uilabel.h>
2011-07-17 08:56:57 +02:00
#include <ui/uielementskin.h>
2011-04-23 22:04:49 +02:00
void UILabel::setText(const std::string& text)
{
m_text = text;
// text size changed, reaplly skin
2011-07-17 08:56:57 +02:00
if(getSkin())
getSkin()->apply(this);
2011-04-23 22:04:49 +02:00
}