2011-04-11 22:06:03 +02:00
|
|
|
#ifndef UILABELSKIN_H
|
|
|
|
#define UILABELSKIN_H
|
|
|
|
|
2011-07-13 23:12:36 +02:00
|
|
|
#include <global.h>
|
2011-04-17 21:14:24 +02:00
|
|
|
#include <graphics/font.h>
|
|
|
|
#include <ui/uielementskin.h>
|
2011-04-11 22:06:03 +02:00
|
|
|
|
|
|
|
class UILabelSkin : public UIElementSkin
|
|
|
|
{
|
|
|
|
public:
|
|
|
|
UILabelSkin(const std::string& name) :
|
2011-05-12 00:16:11 +02:00
|
|
|
UIElementSkin(name, UI::Label) { }
|
2011-04-11 22:06:03 +02:00
|
|
|
|
2011-07-13 23:12:36 +02:00
|
|
|
void load(OTMLNode* node);
|
2011-04-17 02:36:58 +02:00
|
|
|
void apply(UIElement *element);
|
2011-04-11 22:06:03 +02:00
|
|
|
void draw(UIElement *element);
|
|
|
|
};
|
|
|
|
|
|
|
|
#endif // UILABELSKIN_H
|