

Public Types | |
| enum | ButtonType_t { kLeft, kMiddle, kRight } |
| enum | ActionType_t { kDown, kUp, kDblClick } |
Public Member Functions | |
| EvtMouse (intf_thread_t *pIntf, int xPos, int yPos, ButtonType_t button, ActionType_t action, int mod=kModNone) | |
| virtual | ~EvtMouse () |
| virtual const string | getAsString () const |
| Return the type of the event. | |
| int | getXPos () const |
| int | getYPos () const |
| ButtonType_t | getButton () const |
| ActionType_t | getAction () const |
| EvtMouse::EvtMouse | ( | intf_thread_t * | pIntf, | |
| int | xPos, | |||
| int | yPos, | |||
| ButtonType_t | button, | |||
| ActionType_t | action, | |||
| int | mod = kModNone | |||
| ) | [inline] |
| virtual EvtMouse::~EvtMouse | ( | ) | [inline, virtual] |
| const string EvtMouse::getAsString | ( | ) | const [virtual] |
Return the type of the event.
Implements EvtGeneric.
References EvtInput::addModifier(), SkinObject::getIntf(), kDblClick, kDown, kLeft, kMiddle, kRight, kUp, and msg_Warn.
| int EvtMouse::getXPos | ( | ) | const [inline] |
Referenced by CtrlTree::handleEvent(), CtrlSliderBg::handleEvent(), and TopWindow::processEvent().
| int EvtMouse::getYPos | ( | ) | const [inline] |
Referenced by CtrlTree::handleEvent(), CtrlSliderBg::handleEvent(), CtrlList::handleEvent(), and TopWindow::processEvent().
| ButtonType_t EvtMouse::getButton | ( | ) | const [inline] |
| ActionType_t EvtMouse::getAction | ( | ) | const [inline] |
Referenced by TopWindow::processEvent().
1.5.6