49 alpha += _time * mCoef;
61 else if (mAlpha < alpha)
63 alpha -= _time * mCoef;
85 setAlpha(utility::parseValue<float>(_value));
86 else if (_key ==
"Coef")
87 setCoef(utility::parseValue<float>(_value));
88 else if (_key ==
"Enabled")
void setAlpha(float _value)
void prepareItem(Widget *_widget) override
void setCoef(float _value)
void setProperty(const std::string &_key, const std::string &_value) override
void setEnabled(bool _value)
bool addTime(Widget *_widget, float _time) override
EventPairAddParameter< EventHandle_WidgetPtr, EventHandle_WidgetPtrControllerItemPtr > eventPreAction
EventPairAddParameter< EventHandle_WidgetPtr, EventHandle_WidgetPtrControllerItemPtr > eventPostAction
EventPairAddParameter< EventHandle_WidgetPtr, EventHandle_WidgetPtrControllerItemPtr > eventUpdateAction