MyGUI 3.2.2

- Main Page
- Related Pages
- Namespaces
- Data Structures
- Files
- Examples

- File List
- Globals

MyGUI_ControllerFadeAlpha.h
Go to the documentation of this file.
1 /*
2 * This source file is part of MyGUI. For the latest info, see http://mygui.info/
3 * Distributed under the MIT License
4 * (See accompanying file COPYING.MIT or copy at http://opensource.org/licenses/MIT)
5 */
6
7 #ifndef MYGUI_CONTROLLER_FADE_ALPHA_H_
8 #define MYGUI_CONTROLLER_FADE_ALPHA_H_
9
10 #include "MyGUI_Prerequest.h"
11 #include "MyGUI_WidgetDefines.h"
12 #include "MyGUI_ControllerItem.h"
13
14 namespace MyGUI
15 {
16
18 class MYGUI_EXPORT ControllerFadeAlpha :
19 public ControllerItem
20 {
21 MYGUI_RTTI_DERIVED( ControllerFadeAlpha )
22
23 public:
24 ControllerFadeAlpha();
25 virtual ~ControllerFadeAlpha();
26
30 void setAlpha(float _value);
31
35 void setCoef(float _value);
36
40 void setEnabled(bool _value);
41
42 virtual bool addTime(Widget* _widget, float _time);
43 virtual void prepareItem(Widget* _widget);
44 virtual void setProperty(const std::string& _key, const std::string& _value);
45
46 private:
47 float mAlpha;
48 float mCoef;
49 bool mEnabled;
50 };
51
52 } // namespace MyGUI
53
54 #endif // MYGUI_CONTROLLER_FADE_ALPHA_H_
MyGUI::Widget
Widget properties. Widget_skin_childs Skin childs. Widget widget description should be here...
Definition: MyGUI_Widget.h:29
MyGUI_Prerequest.h
MyGUI_WidgetDefines.h
MyGUI
Definition: MyGUI_ActionController.h:14
MYGUI_RTTI_DERIVED
#define MYGUI_RTTI_DERIVED(DerivedType)
Definition: MyGUI_RTTI.h:65
MYGUI_EXPORT
#define MYGUI_EXPORT
Definition: MyGUI_Platform.h:103
MyGUI::ControllerFadeAlpha
Definition: MyGUI_ControllerFadeAlpha.h:18
MyGUI::ControllerItem
Definition: MyGUI_ControllerItem.h:25
MyGUI_ControllerItem.h