27 lines
399 B
C++
27 lines
399 B
C++
#ifndef LABEL_H
|
|
#define LABEL_H
|
|
|
|
#include <string>
|
|
|
|
#include "Component.h"
|
|
|
|
namespace ui
|
|
{
|
|
class Label : public Component
|
|
{
|
|
public:
|
|
Label(State* parent_state, std::string labelText);
|
|
|
|
Label(Point position, Point size, std::string labelText);
|
|
|
|
Label(std::string labelText);
|
|
virtual ~Label();
|
|
|
|
std::string LabelText;
|
|
|
|
virtual void Draw(const Point& screenPos);
|
|
};
|
|
}
|
|
|
|
#endif // LABEL_H
|