OpenMW
Public Types | Public Member Functions | Public Attributes | Private Member Functions | Private Attributes
MWGui::Controllers::ControllerRepeatClick Class Reference

#include <controllers.hpp>

List of all members.

Public Types

typedef
MyGUI::delegates::CMultiDelegate2
< MyGUI::Widget
*, MyGUI::ControllerItem * > 
EventHandle_RepeatClickVoid

Public Member Functions

 ControllerRepeatClick ()
virtual ~ControllerRepeatClick ()
void setRepeat (float init, float step)
void setEnabled (bool enable)
virtual void setProperty (const std::string &_key, const std::string &_value)

Public Attributes

EventHandle_RepeatClickVoid eventRepeatClick

Private Member Functions

bool addTime (MyGUI::Widget *_widget, float _time)
void prepareItem (MyGUI::Widget *_widget)

Private Attributes

float mInit
float mStep
bool mEnabled
float mTimeLeft

Member Typedef Documentation

typedef MyGUI::delegates::CMultiDelegate2<MyGUI::Widget*, MyGUI::ControllerItem*> MWGui::Controllers::ControllerRepeatClick::EventHandle_RepeatClickVoid

Constructor & Destructor Documentation


Member Function Documentation

bool MWGui::Controllers::ControllerRepeatClick::addTime ( MyGUI::Widget *  _widget,
float  _time 
) [private]
void MWGui::Controllers::ControllerRepeatClick::prepareItem ( MyGUI::Widget *  _widget) [private]
void MWGui::Controllers::ControllerRepeatClick::setProperty ( const std::string &  _key,
const std::string &  _value 
) [virtual]
void MWGui::Controllers::ControllerRepeatClick::setRepeat ( float  init,
float  step 
)

Member Data Documentation

Event : Repeat Click.
signature : void method(MyGUI::Widget* _sender, MyGUI::ControllerItem *_controller)


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