- Added renderspace - Revision System (to not always update pRenderspace - added some test scene
24 lines
448 B
C++
24 lines
448 B
C++
#pragma once
|
|
|
|
#include <pd/core/core.hpp>
|
|
#include <pd/ultra/elems/element.hpp>
|
|
|
|
namespace PD {
|
|
namespace Ultra {
|
|
class PD_API Text : public ElementBase {
|
|
public:
|
|
Text() {}
|
|
~Text() {}
|
|
|
|
void Draw(PD::Li::Drawlist& l) override;
|
|
|
|
void SetColor(const PD::Color& color) { pColor = color; }
|
|
void SetText(const std::string& text) { pText = text; }
|
|
|
|
private:
|
|
PD::Color pColor;
|
|
std::string pText;
|
|
};
|
|
} // namespace Ultra
|
|
|
|
} // namespace PD
|