#include <umouseevent.hpp>
Inheritance diagram for ufo::UMouseEvent:
Public Member Functions | |
UMouseEvent (UWidget *sourceA, Type typeA, UMod_t modifiersA, const UPoint &pos, UMod_t button, int clickCountA) | |
UMouseEvent (UWidget *sourceA, Type typeA, UMod_t modifiersA, const UPoint &pos, const UPoint &relMove, UMod_t button, int clickCountA) | |
UMouseEvent (UWidget *sourceA, Type typeA, UMod_t modifiersA, const UPoint &pos, const UPoint &relMove, const UPoint &root, UMod_t button, int clickCountA) | |
int | getClickCount () const |
UMod_t | getButton () const |
const UPoint & | getLocation () const |
const UPoint & | getRootLocation () const |
const UPoint & | getRelMovement () const |
int | getX () const |
int | getY () const |
int | getXRel () const |
int | getYRel () const |
int | getRootX () const |
int | getRootY () const |
void | translate (const UPoint &pos) |
Protected Member Functions | |
virtual std::ostream & | paramString (std::ostream &os) const |
|
Creates a new mouse event.
|
|
Creates a new mouse event.
|
|
Creates a new mouse event.
|
|
Returns the mouse button which was changed. Returned value is a modifier type and one of the values of:
|
|
returns how many times this mouse button was clicked within ?? ms |
|
|
|
|
|
|
|
X value relative to the top most root pane. |
|
Y value relative to the top most root pane. |
|
X value relative to the source widget. |
|
The mouse movement in x direction. |
|
Y value relative to the source widget. |
|
The mouse movement in y direction. |
|
Prints some useful internal data to the ostream os. This method is meant only for debugging purposes. Reimplemented from ufo::UInputEvent.
|
|
translates the origin of the event |