MyGUI::ControllerPosition Class Reference

#include <MyGUI_ControllerPosition.h>

Inheritance diagram for MyGUI::ControllerPosition:
Inheritance graph
[legend]

Public Types

typedef delegates::CDelegate4
< const IntCoord &, const
IntCoord &, IntCoord &, float > 
FrameAction

Public Member Functions

 ControllerPosition ()
void setCoord (const IntCoord &_value)
void setSize (const IntSize &_value)
void setPosition (const IntPoint &_value)
void setTime (float _value)
void setAction (FrameAction::IDelegate *_value)
virtual void setProperty (const std::string &_key, const std::string &_value)

Detailed Description

This controller used for smooth changing position of widget in time

Definition at line 34 of file MyGUI_ControllerPosition.h.


Member Typedef Documentation

Definition at line 40 of file MyGUI_ControllerPosition.h.


Constructor & Destructor Documentation

MyGUI::ControllerPosition::ControllerPosition (  ) 

Definition at line 34 of file MyGUI_ControllerPosition.cpp.


Member Function Documentation

void MyGUI::ControllerPosition::setAction ( FrameAction::IDelegate _value  )  [inline]
Parameters:
_action applied to widget every frame (see ControllerPosition::eventFrameAction)

Definition at line 58 of file MyGUI_ControllerPosition.h.

void MyGUI::ControllerPosition::setCoord ( const IntCoord _value  ) 

Definition at line 42 of file MyGUI_ControllerPosition.cpp.

void MyGUI::ControllerPosition::setPosition ( const IntPoint _value  ) 

Definition at line 57 of file MyGUI_ControllerPosition.cpp.

void MyGUI::ControllerPosition::setProperty ( const std::string &  _key,
const std::string &  _value 
) [virtual]

Reimplemented from MyGUI::ControllerItem.

Definition at line 115 of file MyGUI_ControllerPosition.cpp.

void MyGUI::ControllerPosition::setSize ( const IntSize _value  ) 

Definition at line 49 of file MyGUI_ControllerPosition.cpp.

void MyGUI::ControllerPosition::setTime ( float  _value  )  [inline]
Parameters:
_value seconds in which widget planned to reach destination coordinate

Definition at line 53 of file MyGUI_ControllerPosition.h.


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

Generated on 5 Dec 2009 for MyGUI by  doxygen 1.6.1