OpenMW
|
#include <controllers.hpp>
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 |
typedef MyGUI::delegates::CMultiDelegate2<MyGUI::Widget*, MyGUI::ControllerItem*> MWGui::Controllers::ControllerRepeatClick::EventHandle_RepeatClickVoid |
bool MWGui::Controllers::ControllerRepeatClick::addTime | ( | MyGUI::Widget * | _widget, |
float | _time | ||
) | [private] |
void MWGui::Controllers::ControllerRepeatClick::prepareItem | ( | MyGUI::Widget * | _widget | ) | [private] |
void MWGui::Controllers::ControllerRepeatClick::setEnabled | ( | bool | enable | ) |
void MWGui::Controllers::ControllerRepeatClick::setProperty | ( | const std::string & | _key, |
const std::string & | _value | ||
) | [virtual] |
void MWGui::Controllers::ControllerRepeatClick::setRepeat | ( | float | init, |
float | step | ||
) |
Event : Repeat Click.
signature : void method(MyGUI::Widget* _sender, MyGUI::ControllerItem *_controller)
bool MWGui::Controllers::ControllerRepeatClick::mEnabled [private] |
float MWGui::Controllers::ControllerRepeatClick::mInit [private] |
float MWGui::Controllers::ControllerRepeatClick::mStep [private] |
float MWGui::Controllers::ControllerRepeatClick::mTimeLeft [private] |