#include <widget.h>
Public Types | |
| enum | Type { NO_EVENT = 0, PUSH, DOUBLE, RELEASE, ENTER, LEAVE, DRAG, MOVE, WHEEL_UP, WHEEL_DN, DND_ENTER, DND_DRAG, DND_LEAVE, DND_RELEASE } |
Public Member Functions | |
| MouseEvent (int ev=NO_EVENT, float px=0.f, float py=0.f, int bt=0L) | |
| event button | |
| MouseEvent (const MouseEvent &that) | |
| Copy Constructor. | |
| MouseEvent & | operator= (const MouseEvent &that) |
| Copy Operator. | |
Public Attributes | |
| int | event |
| float | pos_x |
| mouse event | |
| float | pos_y |
| x coordinate | |
| int | button |
| y coordinate | |
| MouseEvent::MouseEvent | ( | int | ev = NO_EVENT, |
|
| float | px = 0.f, |
|||
| float | py = 0.f, |
|||
| int | bt = 0L | |||
| ) |
event button
Default Constructor.
| ev | mouse event | |
| px | horizontal position | |
| py | vertical position | |
| bt | the button number |
| MouseEvent::MouseEvent | ( | const MouseEvent & | that | ) |
Copy Constructor.
| that | object to copy from |
| MouseEvent & MouseEvent::operator= | ( | const MouseEvent & | that | ) |
Copy Operator.
| that | object to copy from |
| float dtABC::MouseEvent::pos_x |
mouse event
| float dtABC::MouseEvent::pos_y |
x coordinate
y coordinate