MyGUI
3.2.0
|
#include <MyGUI_ControllerFadeAlpha.h>
Public Types | |
typedef RTTIBase | Base |
typedef ControllerFadeAlpha | RTTIBase |
![]() | |
typedef RTTIBase | Base |
typedef ControllerItem | RTTIBase |
![]() | |
typedef IObject | RTTIBase |
Public Member Functions | |
virtual const std::string & | getTypeName () const |
virtual bool | isType (const std::type_info &_type) const |
template<typename Type > | |
bool | isType () const |
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) |
![]() | |
template<typename Type > | |
bool | isType () const |
virtual | ~ControllerItem () |
![]() | |
template<typename Type > | |
bool | isType () const |
template<typename Type > | |
Type * | castType (bool _throw=true) |
template<typename Type > | |
const Type * | castType (bool _throw=true) const |
IObject () | |
virtual | ~IObject () |
Static Public Member Functions | |
static const std::string & | getClassTypeName () |
![]() | |
static const std::string & | getClassTypeName () |
![]() | |
static const std::string & | getClassTypeName () |
Additional Inherited Members | |
![]() | |
delegates::CMultiDelegate1 < Widget * > | eventPreAction |
delegates::CMultiDelegate1 < Widget * > | eventUpdateAction |
delegates::CMultiDelegate1 < Widget * > | eventPostAction |
This controller used for smooth changing alpha of widget in time
Definition at line 33 of file MyGUI_ControllerFadeAlpha.h.
Definition at line 36 of file MyGUI_ControllerFadeAlpha.h.
Definition at line 36 of file MyGUI_ControllerFadeAlpha.h.
MyGUI::ControllerFadeAlpha::ControllerFadeAlpha | ( | ) |
Definition at line 32 of file MyGUI_ControllerFadeAlpha.cpp.
|
virtual |
Definition at line 39 of file MyGUI_ControllerFadeAlpha.cpp.
|
inlinestatic |
Definition at line 36 of file MyGUI_ControllerFadeAlpha.h.
|
inlinevirtual |
Get type name as string
Reimplemented from MyGUI::ControllerItem.
Definition at line 36 of file MyGUI_ControllerFadeAlpha.h.
|
inline |
Compare with selected type
Definition at line 36 of file MyGUI_ControllerFadeAlpha.h.
|
inlinevirtual |
Compare with selected type
Reimplemented from MyGUI::ControllerItem.
Definition at line 36 of file MyGUI_ControllerFadeAlpha.h.
void MyGUI::ControllerFadeAlpha::setAlpha | ( | float | _value) |
_value | Alpha that will be as result of changing |
Definition at line 111 of file MyGUI_ControllerFadeAlpha.cpp.
void MyGUI::ControllerFadeAlpha::setCoef | ( | float | _value) |
_value | Coefficient of alpha changing speed (1. mean that alpha will change from 0 to 1 at 1 second) |
Definition at line 116 of file MyGUI_ControllerFadeAlpha.cpp.
void MyGUI::ControllerFadeAlpha::setEnabled | ( | bool | _value) |
_value | If true then widget will be inactive after start of alpha changing |
Definition at line 121 of file MyGUI_ControllerFadeAlpha.cpp.
|
virtual |
Reimplemented from MyGUI::ControllerItem.
Definition at line 101 of file MyGUI_ControllerFadeAlpha.cpp.