Files
palladium/include/pd/ultra/elems/text.hpp
T
tobid7 2e652a3c24 More stuff done at Project Ultra
- Added renderspace
- Revision System (to not always update pRenderspace
- added some test scene
2026-03-28 13:52:36 +01:00

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