|
wxShapeFramework
1.13.0 beta
|
Class encapsulates wxEVT_SF_ON_DROP event. More...
#include <SFEvents.h>


Public Member Functions | |
| wxSFShapeDropEvent (wxEventType cmdType=wxEVT_NULL, wxCoord x=0, wxCoord y=0, wxSFShapeCanvas *target=NULL, wxDragResult def=wxDragNone, int id=0) | |
| Constructor. More... | |
| wxSFShapeDropEvent (const wxSFShapeDropEvent &obj) | |
| Copy constructor. More... | |
| virtual | ~wxSFShapeDropEvent () |
| Destructor. More... | |
| void | SetDroppedShapes (const ShapeList &list) |
| Copy given shapes to the internal list of dropped shapes. More... | |
| void | SetDropPosition (const wxPoint &pos) |
| Set a position where the shapes were dropped. More... | |
| void | SetDragResult (wxDragResult def) |
| Set drag result. More... | |
| void | SetDropTarget (wxSFShapeCanvas *target) |
| Set drop target (shape canvas where shapes have been dropped to). More... | |
| ShapeList & | GetDroppedShapes () |
| Get a shape object from the event object. More... | |
| wxPoint | GetDropPosition () |
| Get drop position. More... | |
| wxDragResult | GetDragResult () |
| Get drag result. More... | |
| wxSFShapeCanvas * | GetDropTarget () |
| Get drop target (shape canvas where shapes have been dropped to). More... | |
| wxEvent * | Clone () const |
| Clone this event object and return pointer to the new instance. More... | |
Private Attributes | |
| ShapeList | m_lstDroppedShapes |
| List of dropped shapes. More... | |
| wxSFShapeCanvas * | m_pDropTarget |
| Drop target. More... | |
| wxPoint | m_nDropPosition |
| Drop position. More... | |
| wxDragResult | m_nDragResult |
| Drag result. More... | |
Class encapsulates wxEVT_SF_ON_DROP event.
| wxSFShapeDropEvent::wxSFShapeDropEvent | ( | wxEventType | cmdType = wxEVT_NULL, |
| wxCoord | x = 0, |
||
| wxCoord | y = 0, |
||
| wxSFShapeCanvas * | target = NULL, |
||
| wxDragResult | def = wxDragNone, |
||
| int | id = 0 |
||
| ) |
Constructor.
| wxSFShapeDropEvent::wxSFShapeDropEvent | ( | const wxSFShapeDropEvent & | obj | ) |
Copy constructor.
|
virtual |
Destructor.
|
inline |
Clone this event object and return pointer to the new instance.
|
inline |
Get drag result.
|
inline |
Get a shape object from the event object.
|
inline |
Get drop position.
|
inline |
Get drop target (shape canvas where shapes have been dropped to).
|
inline |
Set drag result.
| def | Drag result |
| void wxSFShapeDropEvent::SetDroppedShapes | ( | const ShapeList & | list | ) |
Copy given shapes to the internal list of dropped shapes.
| list | Reference to a list of copied shapes |
|
inline |
Set a position where the shapes were dropped.
| pos | Position |
|
inline |
Set drop target (shape canvas where shapes have been dropped to).
| target | Pointer to drop target (shape canvas) |
|
private |
List of dropped shapes.
|
private |
Drag result.
|
private |
Drop position.
|
private |
Drop target.