Public Types | Public Member Functions | Static Public Member Functions

MyGUI::ControllerFadeAlpha Class Reference

#include <MyGUI_ControllerFadeAlpha.h>

Inheritance diagram for MyGUI::ControllerFadeAlpha:

Public Types

typedef RTTIBase Base
typedef ControllerFadeAlpha 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 ()
void setAlpha (float _value)
void setCoef (float _value)
void setEnabled (bool _value)
virtual void setProperty (const std::string &_key, const std::string &_value)

Static Public Member Functions

static const std::string & getClassTypeName ()

Detailed Description

This controller used for smooth changing alpha of widget in time

Definition at line 34 of file MyGUI_ControllerFadeAlpha.h.


Member Typedef Documentation

Reimplemented from MyGUI::ControllerItem.

Definition at line 37 of file MyGUI_ControllerFadeAlpha.h.

Reimplemented from MyGUI::ControllerItem.

Definition at line 37 of file MyGUI_ControllerFadeAlpha.h.


Constructor & Destructor Documentation

MyGUI::ControllerFadeAlpha::ControllerFadeAlpha (  ) 

Definition at line 33 of file MyGUI_ControllerFadeAlpha.cpp.


Member Function Documentation

static const std::string& MyGUI::ControllerFadeAlpha::getClassTypeName (  )  [inline, static]

Reimplemented from MyGUI::ControllerItem.

Definition at line 37 of file MyGUI_ControllerFadeAlpha.h.

virtual const std::string& MyGUI::ControllerFadeAlpha::getTypeName (  )  const [inline, virtual]

Get type name as string

Reimplemented from MyGUI::ControllerItem.

Definition at line 37 of file MyGUI_ControllerFadeAlpha.h.

template<typename Type >
bool MyGUI::ControllerFadeAlpha::isType (  )  const [inline]

Compare with selected type

Reimplemented from MyGUI::ControllerItem.

Definition at line 37 of file MyGUI_ControllerFadeAlpha.h.

virtual bool MyGUI::ControllerFadeAlpha::isType ( const std::type_info &  _type  )  const [inline, virtual]

Compare with selected type

Reimplemented from MyGUI::ControllerItem.

Definition at line 37 of file MyGUI_ControllerFadeAlpha.h.

void MyGUI::ControllerFadeAlpha::setAlpha ( float  _value  )  [inline]
Parameters:
_alpha that will be as result of changing

Definition at line 45 of file MyGUI_ControllerFadeAlpha.h.

void MyGUI::ControllerFadeAlpha::setCoef ( float  _value  )  [inline]
Parameters:
_coef of alpha changing speed (1. mean that alpha will change from 0 to 1 at 1 second)

Definition at line 50 of file MyGUI_ControllerFadeAlpha.h.

void MyGUI::ControllerFadeAlpha::setEnabled ( bool  _value  )  [inline]
Parameters:
_enabled if true then widget will be inactive after start of alpha changing

Definition at line 55 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.


The documentation for this class was generated from the following files: