|
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. | |
| wxSFShapeKeyEvent (const wxSFShapeKeyEvent &obj) | |
| Copy constructor. | |
| virtual | ~wxSFShapeKeyEvent () |
| Destructor. | |
| void | SetShape (wxSFShapeBase *shape) |
| Insert a shape object to the event object. | |
| wxSFShapeBase * | GetShape () |
| Get a shape object from the event object. | |
| void | SetKeyCode (int KeyCode) |
| Set key code. | |
| int | GetKeyCode () const |
| Get key code. | |
| wxEvent * | Clone () const |
| Clone this event object and return pointer to the new instance. | |
Private Attributes | |
| wxSFShapeBase * | m_Shape |
| Pointer to stored shape object. | |
| int | m_KeyCode |
| Code of pressed key. | |
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 wxSFShapeKeyEvent::~wxSFShapeKeyEvent | ( | ) | [virtual] |
Destructor.
| wxEvent* wxSFShapeKeyEvent::Clone | ( | ) | const [inline] |
Clone this event object and return pointer to the new instance.
| int wxSFShapeKeyEvent::GetKeyCode | ( | ) | const [inline] |
Get key code.
| wxSFShapeBase* wxSFShapeKeyEvent::GetShape | ( | ) | [inline] |
Get a shape object from the event object.
| void wxSFShapeKeyEvent::SetKeyCode | ( | int | KeyCode | ) | [inline] |
Set key code.
| KeyCode | Code of pressed key |
| void wxSFShapeKeyEvent::SetShape | ( | wxSFShapeBase * | shape | ) | [inline] |
Insert a shape object to the event object.
| shape | Pointer to the shape object |
int wxSFShapeKeyEvent::m_KeyCode [private] |
Code of pressed key.
wxSFShapeBase* wxSFShapeKeyEvent::m_Shape [private] |
Pointer to stored shape object.