info window

This commit is contained in:
Eduardo Bart
2011-04-16 21:36:58 -03:00
parent c5da620d59
commit 9dfb33f2ed
26 changed files with 267 additions and 97 deletions

View File

@@ -23,13 +23,3 @@
#include "uilabel.h"
#include "graphics/fonts.h"
#include "uilabelskin.h"
void UILabel::setText(const std::string& text)
{
UILabelSkin *skin = static_cast<UILabelSkin*>(getSkin());
setSize(skin->getFont()->calculateTextRectSize(text));
m_text = text;
}