28 void ControllerFadeAlpha::prepareItem(
Widget* _widget)
46 bool ControllerFadeAlpha::addTime(Widget* _widget,
float _time)
48 float alpha = _widget->getAlpha();
53 alpha += _time * mCoef;
56 _widget->setAlpha(alpha);
62 _widget->setAlpha(mAlpha);
65 else if (mAlpha < alpha)
67 alpha -= _time * mCoef;
70 _widget->setAlpha(alpha);
76 _widget->setAlpha(mAlpha);
89 setAlpha(utility::parseValue<float>(_value));
90 else if (_key ==
"Coef")
91 setCoef(utility::parseValue<float>(_value));
92 else if (_key ==
"Enabled")