#pragma once #include "Widget.h" #include "Color.h" #include #include class PaintEvent; class MouseEvent; class Button : public Widget { private: using clickFunc = std::function; std::string mLabel; clickFunc mClickFunc; Color mCachedColor; ColorUPtr mClickedColor; public: Button(); static std::unique_ptr