MyGUI 3.4.3
|
#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 std::string_view | getTypeName () const override |
virtual bool | isType (const std::type_info &_type) const override |
template<typename Type> | |
bool | isType () const |
void | setAlpha (float _value) |
void | setCoef (float _value) |
void | setEnabled (bool _value) |
bool | addTime (Widget *_widget, float _time) override |
void | prepareItem (Widget *_widget) override |
void | setProperty (std::string_view _key, std::string_view _value) override |
![]() | |
template<typename Type> | |
bool | isType () const |
![]() | |
template<typename Type> | |
bool | isType () const |
template<typename Type> | |
Type * | castType (bool _throw=true) |
template<typename Type> | |
const Type * | castType (bool _throw=true) const |
virtual | ~IObject ()=default |
Static Public Member Functions | |
static std::string_view | getClassTypeName () |
![]() | |
static std::string_view | getClassTypeName () |
![]() | |
static std::string_view | getClassTypeName () |
Additional Inherited Members | |
![]() | |
EventPairAddParameter< EventHandle_WidgetPtr, EventHandle_WidgetPtrControllerItemPtr > | eventPreAction |
EventPairAddParameter< EventHandle_WidgetPtr, EventHandle_WidgetPtrControllerItemPtr > | eventUpdateAction |
EventPairAddParameter< EventHandle_WidgetPtr, EventHandle_WidgetPtrControllerItemPtr > | eventPostAction |
This controller used for smooth changing alpha of widget in time
Definition at line 18 of file MyGUI_ControllerFadeAlpha.h.
Definition at line 20 of file MyGUI_ControllerFadeAlpha.h.
Definition at line 20 of file MyGUI_ControllerFadeAlpha.h.
|
overridevirtual |
Implements MyGUI::ControllerItem.
Definition at line 37 of file MyGUI_ControllerFadeAlpha.cpp.
|
inlinestatic |
Definition at line 20 of file MyGUI_ControllerFadeAlpha.h.
|
inlineoverridevirtual |
Get type name as string
Reimplemented from MyGUI::ControllerItem.
Definition at line 20 of file MyGUI_ControllerFadeAlpha.h.
|
inline |
Compare with selected type
Definition at line 20 of file MyGUI_ControllerFadeAlpha.h.
|
inlineoverridevirtual |
Compare with selected type
Reimplemented from MyGUI::ControllerItem.
Definition at line 20 of file MyGUI_ControllerFadeAlpha.h.
|
overridevirtual |
Implements MyGUI::ControllerItem.
Definition at line 17 of file MyGUI_ControllerFadeAlpha.cpp.
void MyGUI::ControllerFadeAlpha::setAlpha | ( | float | _value | ) |
_value | Alpha that will be as result of changing |
Definition at line 83 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 88 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 93 of file MyGUI_ControllerFadeAlpha.cpp.
|
overridevirtual |
Reimplemented from MyGUI::ControllerItem.
Definition at line 73 of file MyGUI_ControllerFadeAlpha.cpp.