wxShapeFramework
1.13.0 beta
|
Class encapsulates wxEVT_SF_SHAPE_KEYDOWN event. More...
#include <SFEvents.h>
Public Member Functions | |
wxSFShapeKeyEvent (wxEventType cmdType=wxEVT_NULL, int id=0) | |
Constructor. More... | |
wxSFShapeKeyEvent (const wxSFShapeKeyEvent &obj) | |
Copy constructor. More... | |
virtual | ~wxSFShapeKeyEvent () |
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 | SetKeyCode (int KeyCode) |
Set key code. More... | |
int | GetKeyCode () const |
Get key code. 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... | |
int | m_KeyCode |
Code of pressed key. More... | |
Class encapsulates wxEVT_SF_SHAPE_KEYDOWN event.
wxSFShapeKeyEvent::wxSFShapeKeyEvent | ( | wxEventType | cmdType = wxEVT_NULL , |
int | id = 0 |
||
) |
Constructor.
wxSFShapeKeyEvent::wxSFShapeKeyEvent | ( | const wxSFShapeKeyEvent & | obj | ) |
Copy constructor.
|
virtual |
Destructor.
|
inline |
Clone this event object and return pointer to the new instance.
|
inline |
Get key code.
|
inline |
Get a shape object from the event object.
|
inline |
Set key code.
KeyCode | Code of pressed key |
|
inline |
Insert a shape object to the event object.
shape | Pointer to the shape object |
|
private |
Code of pressed key.
|
private |
Pointer to stored shape object.