|
wxArt2D
|
general event sent from a2dHandle to its parent a2dCanvasObject More...
#include <canglob.h>


Public Member Functions | |
| a2dHandleMouseEvent (a2dIterC *ic, a2dHandle *handle, double x, double y, const wxMouseEvent &event, wxEventType type=wxEVT_CANVASHANDLE_MOUSE_EVENT) | |
| constructor | |
| a2dHandleMouseEvent (const a2dHandleMouseEvent &other) | |
| constructor | |
| virtual wxEvent * | Clone (bool deep=true) const |
| clone the event | |
| a2dHandle * | GetCanvasHandle () |
| return the handle object hit | |
| wxMouseEvent & | GetMouseEvent () |
| return the original mouse event that was redirected to the a2dHandle | |
Public Member Functions inherited from a2dCanvasObjectEvent | |
| a2dCanvasObjectEvent (a2dIterC *ic, wxEventType type, a2dCanvasObject *object, double x, double y, int id=0) | |
| constructor | |
| a2dCanvasObjectEvent (a2dCanvasObject *object, const a2dBoundingBox &box, int id=0) | |
| a2dCanvasObjectEvent (const a2dCanvasObjectEvent &other) | |
| virtual wxEvent * | Clone () const |
| clone the event | |
| a2dCanvasObject * | GetCanvasObject () |
| double | GetX () |
| double | GetY () |
| a2dBoundingBox & | GetBbox () |
| in case of wxEVT_CANVASOBJECT_RESIZE_EVENT event get boundingbox which was sent | |
| a2dIterC * | GetIterC () |
| void | SetIterC (a2dIterC *ic) |
general event sent from a2dHandle to its parent a2dCanvasObject
This event can be intercepted, to implement an action when a a2dHandle is hit. The original mouse event ( e.g. as sent from the a2dCanvasView its a2dCanvas ), is also stored as part of the event.
Currently the following Id's: