/* * Author: Patrick-Christopher Mattulat * Company: Lynar Studios * E-Mail: webmaster@lynarstudios.com * Created: 2024-05-16 * Changed: 2024-05-30 * * */ #ifndef LS_STD_BUTTON_HPP #define LS_STD_BUTTON_HPP #include #include namespace test::event { class Button : public ls::std::event::EventListener { public: explicit Button(); ~Button() noexcept override; [[nodiscard]] ::std::string getColor() const; [[nodiscard]] bool isClicked() const; void onChangeColorEvent(); void onClickEvent(); private: bool clicked{}; ::std::string color{}; }; } #endif