diff --git a/include/Cubed/ui/button.hpp b/include/Cubed/ui/button.hpp index 46913e0..1984771 100644 --- a/include/Cubed/ui/button.hpp +++ b/include/Cubed/ui/button.hpp @@ -31,7 +31,7 @@ public: Button& set_text(const std::string& text); Button& set_auto_scale(bool auto_scale); - + Button& set_enable(bool enable); float scale() const; template Button& set_clicked(F&& f) { m_clicked = std::forward(f); @@ -49,6 +49,7 @@ private: std::unique_ptr m_background; std::unique_ptr