Cleanup widgets
This commit is contained in:
parent
242cd93589
commit
da6990ddc8
30 changed files with 705 additions and 654 deletions
|
|
@ -7,6 +7,9 @@
|
|||
namespace tp {
|
||||
|
||||
class ButtonWidget : public Widget {
|
||||
public:
|
||||
// enum State { NONE, ANTICIPATION, ACTIVATED, CONFIRMED };
|
||||
|
||||
public:
|
||||
ButtonWidget();
|
||||
ButtonWidget(const std::string& label, const tp::RectF& aArea);
|
||||
|
|
@ -20,6 +23,7 @@ namespace tp {
|
|||
|
||||
public:
|
||||
LabelWidget mLabel;
|
||||
// State mStat = NONE;
|
||||
|
||||
RGBA pressedColor;
|
||||
RGBA hoveredColor;
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue