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