#pragma once #include #include 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