MyGUI
3.2.1
Main Page
Related Pages
Namespaces
Data Structures
Files
Examples
File List
Globals
mygui
MyGUIEngine
include
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
void
setProperty(const std::
string
& _key, const std::
string
& _value);
43
44
private:
45
bool
addTime(
Widget
* _widget,
float
_time);
46
void
prepareItem(
Widget
* _widget);
47
48
private:
49
float
mAlpha;
50
float
mCoef;
51
bool
mEnabled;
52
};
53
54
}
// namespace MyGUI
55
56
#endif // __MYGUI_CONTROLLER_FADE_ALPHA_H__
Generated on Wed Aug 20 2014 00:03:32 for MyGUI by
1.8.3.1