Set up stacked widget.
This commit is contained in:
parent
4e85edacc8
commit
ee51f3ee09
51 changed files with 808 additions and 195 deletions
|
@ -6,9 +6,11 @@
|
|||
class Button : public Widget
|
||||
{
|
||||
private:
|
||||
using clickFunc = std::function<void()>;
|
||||
using clickFunc = std::function<void(Widget* self)>;
|
||||
std::string mLabel;
|
||||
clickFunc mClickFunc;
|
||||
Color mCachedColor;
|
||||
ColorUPtr mClickedColor;
|
||||
|
||||
public:
|
||||
Button();
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue