wxShapeFramework
1.13.0 beta
|
Class encapsulates handle-related events. More...
#include <SFEvents.h>
Public Member Functions | |
wxSFShapeHandleEvent (wxEventType cmdType=wxEVT_NULL, int id=0) | |
Constructor. More... | |
wxSFShapeHandleEvent (const wxSFShapeHandleEvent &obj) | |
Copy constructor. More... | |
virtual | ~wxSFShapeHandleEvent () |
Destructor. More... | |
void | SetShape (wxSFShapeBase *shape) |
Insert a shape object to the event object. More... | |
wxSFShapeBase * | GetShape () |
Get a shape object from the event object. More... | |
void | SetHandle (wxSFShapeHandle &Handle) |
Set pointer to dragged shape handle. More... | |
wxSFShapeHandle & | GetHandle () const |
Get pointer to dragged shape handle. More... | |
wxEvent * | Clone () const |
Clone this event object and return pointer to the new instance. More... | |
Private Attributes | |
wxSFShapeBase * | m_Shape |
Pointer to stored shape object. More... | |
wxSFShapeHandle * | m_Handle |
Dragged handle. More... | |
Class encapsulates handle-related events.
wxSFShapeHandleEvent::wxSFShapeHandleEvent | ( | wxEventType | cmdType = wxEVT_NULL , |
int | id = 0 |
||
) |
Constructor.
wxSFShapeHandleEvent::wxSFShapeHandleEvent | ( | const wxSFShapeHandleEvent & | obj | ) |
Copy constructor.
|
virtual |
Destructor.
|
inline |
Clone this event object and return pointer to the new instance.
|
inline |
|
inline |
Get a shape object from the event object.
|
inline |
Set pointer to dragged shape handle.
Handle | Pointer to shape handle |
|
inline |
Insert a shape object to the event object.
shape | Pointer to the shape object |
|
private |
Dragged handle.
|
private |
Pointer to stored shape object.