#pragma once #include "Widget.hpp" namespace Raven { class Label : public Widget { public: Label(std::string text) : Widget(WidgetType::Label) , m_text(text) {} ~Label() {} void set_text(std::string text); std::string &text() { return m_text; } protected: void on_paint(); void on_init(); private: std::string m_text; }; }