#include <MyGUI_ControllerFadeAlpha.h>
Public Member Functions | |
ControllerFadeAlpha () | |
virtual | ~ControllerFadeAlpha () |
void | setAlpha (float _value) |
void | setCoef (float _value) |
void | setEnabled (bool _value) |
virtual void | setProperty (const std::string &_key, const std::string &_value) |
This controller used for smooth changing alpha of widget in time
Definition at line 34 of file MyGUI_ControllerFadeAlpha.h.
MyGUI::ControllerFadeAlpha::ControllerFadeAlpha | ( | ) |
Definition at line 33 of file MyGUI_ControllerFadeAlpha.cpp.
virtual MyGUI::ControllerFadeAlpha::~ControllerFadeAlpha | ( | ) | [inline, virtual] |
Definition at line 41 of file MyGUI_ControllerFadeAlpha.h.
void MyGUI::ControllerFadeAlpha::setAlpha | ( | float | _value | ) | [inline] |
_alpha | that will be as result of changing |
Definition at line 46 of file MyGUI_ControllerFadeAlpha.h.
void MyGUI::ControllerFadeAlpha::setCoef | ( | float | _value | ) | [inline] |
_coef | of alpha changing speed (1. mean that alpha will change from 0 to 1 at 1 second) |
Definition at line 51 of file MyGUI_ControllerFadeAlpha.h.
void MyGUI::ControllerFadeAlpha::setEnabled | ( | bool | _value | ) | [inline] |
_enabled | if true then widget will be inactive after start of alpha changing |
Definition at line 56 of file MyGUI_ControllerFadeAlpha.h.
void MyGUI::ControllerFadeAlpha::setProperty | ( | const std::string & | _key, | |
const std::string & | _value | |||
) | [virtual] |
Reimplemented from MyGUI::ControllerItem.
Definition at line 98 of file MyGUI_ControllerFadeAlpha.cpp.