Go to the documentation of this file.
53 alpha += _time * mCoef;
65 else if (mAlpha < alpha)
67 alpha -= _time * mCoef;
89 setAlpha(utility::parseValue<float>(_value));
90 else if (_key ==
"Coef")
91 setCoef(utility::parseValue<float>(_value));
92 else if (_key ==
"Enabled")
static InputManager & getInstance()
virtual void setProperty(const std::string &_key, const std::string &_value)
virtual ~ControllerFadeAlpha()
void setEnabled(bool _value)
EventPairAddParameter< EventHandle_WidgetPtr, EventHandle_WidgetPtrControllerItemPtr > eventUpdateAction
virtual void prepareItem(Widget *_widget)
EventPairAddParameter< EventHandle_WidgetPtr, EventHandle_WidgetPtrControllerItemPtr > eventPostAction
virtual bool addTime(Widget *_widget, float _time)
void setCoef(float _value)
void setAlpha(float _value)
EventPairAddParameter< EventHandle_WidgetPtr, EventHandle_WidgetPtrControllerItemPtr > eventPreAction