wxShapeFramework
1.13.0 beta
|
Classes | |
class | wxSFShapeEvent |
Class encapsulates generic wxSF shape's event. More... | |
class | wxSFShapeKeyEvent |
Class encapsulates wxEVT_SF_SHAPE_KEYDOWN event. More... | |
class | wxSFShapeMouseEvent |
Class encapsulates mouse events generated by a shape. More... | |
class | wxSFShapeTextEvent |
Class encapsulates wxEVT_SF_TEXT_CHANGE event. More... | |
class | wxSFShapeHandleEvent |
Class encapsulates handle-related events. More... | |
class | wxSFShapeDropEvent |
Class encapsulates wxEVT_SF_ON_DROP event. More... | |
class | wxSFShapePasteEvent |
Class encapsulates wxEVT_SF_ON_PASTE event. More... | |
class | wxSFShapeChildDropEvent |
Class encapsulates wxEVT_SF_SHAPE_CHILD_DROP event. More... | |
Defines | |
#define | wxSFShapeEventHandler(func) (wxObjectEventFunction)(wxEventFunction)wxStaticCastEvent(wxSFShapeEventFunction, &func) |
#define | wxSFShapeTextEventHandler(func) (wxObjectEventFunction)(wxEventFunction)wxStaticCastEvent(wxSFShapeTextEventFunction, &func) |
#define | wxSFShapeDropEventHandler(func) (wxObjectEventFunction)(wxEventFunction)wxStaticCastEvent(wxSFShapeDropEventFunction, &func) |
#define | wxSFShapePasteEventHandler(func) (wxObjectEventFunction)(wxEventFunction)wxStaticCastEvent(wxSFShapePasteEventFunction, &func) |
#define | wxSFShapeHandleEventHandler(func) (wxObjectEventFunction)(wxEventFunction)wxStaticCastEvent(wxSFShapeHandleEventFunction, &func) |
#define | wxSFShapeKeyEventHandler(func) (wxObjectEventFunction)(wxEventFunction)wxStaticCastEvent(wxSFShapeKeyEventFunction, &func) |
#define | wxSFShapeMouseEventHandler(func) (wxObjectEventFunction)(wxEventFunction)wxStaticCastEvent(wxSFShapeMouseEventFunction, &func) |
#define | wxSFShapeChildDropEventHandler(func) (wxObjectEventFunction)(wxEventFunction)wxStaticCastEvent(wxSFShapeChildDropEventFunction, &func) |
#define | EVT_SF_LINE_DONE(id, fn) |
Event table macro mapping event wxEVT_SF_LINE_DONE. This event occures when the interactive connection creation process is finished. The generated event object holds a pointer to the new line shape. | |
#define | EVT_SF_TEXT_CHANGE(id, fn) |
Event table macro mapping event wxEVT_SF_TEXT_CHANGE. This event occures when the editable text shape's content is changed. | |
#define | EVT_SF_ON_DROP(id, fn) |
Event table macro mapping event wxEVT_SF_ON_DROP. This event occures when dragged shapes (via D&D operation) are dropped to a canvas. | |
#define | EVT_SF_ON_PASTE(id, fn) |
Event table macro mapping event wxEVT_SF_ON_PASTE. This event occures when shapes stored in the clipboard are pasted to a canvas. | |
#define | EVT_SF_SHAPE_LEFT_DOWN(id, fn) |
Event table macro mapping event wxEVT_SF_SHAPE_LEFT_DOWN. This event occures when the shape is clicked by a left mouse button (sfsEMIT_EVENTS shape style must be in use). | |
#define | EVT_SF_SHAPE_LEFT_DCLICK(id, fn) |
Event table macro mapping event wxEVT_SF_SHAPE_LEFT_DCLICK. This event occures when the shape is double-clicked by a left mouse button (sfsEMIT_EVENTS shape style must be in use). | |
#define | EVT_SF_SHAPE_RIGHT_DOWN(id, fn) |
Event table macro mapping event wxEVT_SF_SHAPE_RIGHT_DOWN. This event occures when the shape is clicked by a right mouse button (sfsEMIT_EVENTS shape style must be in use). | |
#define | EVT_SF_SHAPE_RIGHT_DCLICK(id, fn) |
Event table macro mapping event wxEVT_SF_SHAPE_RIGHT_DCLICK. This event occures when the shape is double-clicked by a right mouse button (sfsEMIT_EVENTS shape style must be in use). | |
#define | EVT_SF_SHAPE_DRAG_BEGIN(id, fn) |
Event table macro mapping event wxEVT_SF_SHAPE_DRAG_BEGIN. This event occures when the shape has started to be dragged. (sfsEMIT_EVENTS shape style must be in use). | |
#define | EVT_SF_SHAPE_DRAG(id, fn) |
Event table macro mapping event wxEVT_SF_SHAPE_DRAG. This event occures when the shape is dragging (sfsEMIT_EVENTS shape style must be in use). | |
#define | EVT_SF_SHAPE_DRAG_END(id, fn) |
Event table macro mapping event wxEVT_SF_SHAPE_DRAG_END. This event occures when the shape's dragging was finished (sfsEMIT_EVENTS shape style must be in use). | |
#define | EVT_SF_SHAPE_HANDLE_BEGIN(id, fn) |
Event table macro mapping event wxEVT_SF_SHAPE_HANDLE_BEGIN. This event occures when the shape's handle has started to be dragged. (sfsEMIT_EVENTS shape style must be in use). | |
#define | EVT_SF_SHAPE_HANDLE(id, fn) |
Event table macro mapping event wxEVT_SF_SHAPE_HANDLE. This event occures when the shape's handle is dragging (sfsEMIT_EVENTS shape style must be in use). | |
#define | EVT_SF_SHAPE_HANDLE_END(id, fn) |
Event table macro mapping event wxEVT_SF_SHAPE_HANDLE_END. This event occures when the shape's dragging was finished (sfsEMIT_EVENTS shape style must be in use). | |
#define | EVT_SF_SHAPE_KEYDOWN(id, fn) |
Event table macro mapping event wxEVT_SF_SHAPE_KEYDOWN. This event occures when the any key is pressed on selected shape (sfsEMIT_EVENTS shape style must be in use). | |
#define | EVT_SF_SHAPE_MOUSE_ENTER(id, fn) |
Event table macro mapping event wxEVT_SF_SHAPE_MOUSE_ENTER. This event occures when the mouse cursor enters the shape's area (sfsEMIT_EVENTS shape style must be in use). | |
#define | EVT_SF_SHAPE_MOUSE_OVER(id, fn) |
Event table macro mapping event wxEVT_SF_SHAPE_MOUSE_OVER. This event occures when the mouse cursor is moving over the shape's area (sfsEMIT_EVENTS shape style must be in use). | |
#define | EVT_SF_SHAPE_MOUSE_LEAVE(id, fn) |
Event table macro mapping event wxEVT_SF_SHAPE_MOUSE_LEAVE. This event occures when the mouse cursor leaves the shape's area (sfsEMIT_EVENTS shape style must be in use). | |
#define | EVT_SF_SHAPE_CHILD_DROP(id, fn) |
Event table macro mapping event wxEVT_SF_SHAPE_CHILD_DROP. This event occures when another shape is dropped onto the new parent shape (sfsEMIT_EVENTS shape style must be in use). | |
#define | EVT_SF_LINE_BEFORE_DONE(id, fn) |
Event table macro mapping event wxEVT_SF_LINE_BEFORE_DONE. This event occures when the interactive connection creation process is finished but this has been added in order to allow the developper to cancel the creation if required. The generated event object holds a pointer to the new line shape. | |
Typedefs | |
typedef void(wxEvtHandler::* | wxSFShapeEventFunction )(wxSFShapeEvent &) |
typedef void(wxEvtHandler::* | wxSFShapeTextEventFunction )(wxSFShapeTextEvent &) |
typedef void(wxEvtHandler::* | wxSFShapeDropEventFunction )(wxSFShapeDropEvent &) |
typedef void(wxEvtHandler::* | wxSFShapePasteEventFunction )(wxSFShapePasteEvent &) |
typedef void(wxEvtHandler::* | wxSFShapeHandleEventFunction )(wxSFShapeHandleEvent &) |
typedef void(wxEvtHandler::* | wxSFShapeKeyEventFunction )(wxSFShapeKeyEvent &) |
typedef void(wxEvtHandler::* | wxSFShapeMouseEventFunction )(wxSFShapeMouseEvent &) |
typedef void(wxEvtHandler::* | wxSFShapeChildDropEventFunction )(wxSFShapeChildDropEvent &) |
Variables | |
class WXDLLIMPEXP_SF | wxSFShapeEvent |
class WXDLLIMPEXP_SF | wxSFShapeTextEvent |
class WXDLLIMPEXP_SF | wxSFShapeDropEvent |
class WXDLLIMPEXP_SF | wxSFShapePasteEvent |
class WXDLLIMPEXP_SF | wxSFShapeHandleEvent |
class WXDLLIMPEXP_SF | wxSFShapeKeyEvent |
class WXDLLIMPEXP_SF | wxSFShapeMouseEvent |
class WXDLLIMPEXP_SF | wxSFShapeChildDropEvent |
#define EVT_SF_LINE_BEFORE_DONE | ( | id, | |
fn | |||
) |
DECLARE_EVENT_TABLE_ENTRY( \ wxEVT_SF_LINE_BEFORE_DONE, id, wxID_ANY, \ (wxObjectEventFunction)(wxEventFunction) wxStaticCastEvent( wxSFShapeEventFunction, &fn ), \ (wxObject *) NULL \ ),
Event table macro mapping event wxEVT_SF_LINE_BEFORE_DONE. This event occures when the interactive connection creation process is finished but this has been added in order to allow the developper to cancel the creation if required. The generated event object holds a pointer to the new line shape.
#define EVT_SF_LINE_DONE | ( | id, | |
fn | |||
) |
DECLARE_EVENT_TABLE_ENTRY( \ wxEVT_SF_LINE_DONE, id, wxID_ANY, \ (wxObjectEventFunction)(wxEventFunction) wxStaticCastEvent( wxSFShapeEventFunction, &fn ), \ (wxObject *) NULL \ ),
Event table macro mapping event wxEVT_SF_LINE_DONE. This event occures when the interactive connection creation process is finished. The generated event object holds a pointer to the new line shape.
#define EVT_SF_ON_DROP | ( | id, | |
fn | |||
) |
DECLARE_EVENT_TABLE_ENTRY( \ wxEVT_SF_ON_DROP, id, wxID_ANY, \ (wxObjectEventFunction)(wxEventFunction) wxStaticCastEvent( wxSFShapeDropEventFunction, &fn ), \ (wxObject *) NULL \ ),
Event table macro mapping event wxEVT_SF_ON_DROP. This event occures when dragged shapes (via D&D operation) are dropped to a canvas.
#define EVT_SF_ON_PASTE | ( | id, | |
fn | |||
) |
DECLARE_EVENT_TABLE_ENTRY( \ wxEVT_SF_ON_PASTE, id, wxID_ANY, \ (wxObjectEventFunction)(wxEventFunction) wxStaticCastEvent( wxSFShapePasteEventFunction, &fn ), \ (wxObject *) NULL \ ),
Event table macro mapping event wxEVT_SF_ON_PASTE. This event occures when shapes stored in the clipboard are pasted to a canvas.
#define EVT_SF_SHAPE_CHILD_DROP | ( | id, | |
fn | |||
) |
DECLARE_EVENT_TABLE_ENTRY( \ wxEVT_SF_SHAPE_CHILD_DROP, id, wxID_ANY, \ (wxObjectEventFunction)(wxEventFunction) wxStaticCastEvent( wxSFShapeChildDropEventFunction, &fn ), \ (wxObject *) NULL \ ),
Event table macro mapping event wxEVT_SF_SHAPE_CHILD_DROP. This event occures when another shape is dropped onto the new parent shape (sfsEMIT_EVENTS shape style must be in use).
#define EVT_SF_SHAPE_DRAG | ( | id, | |
fn | |||
) |
DECLARE_EVENT_TABLE_ENTRY( \ wxEVT_SF_SHAPE_DRAG, id, wxID_ANY, \ (wxObjectEventFunction)(wxEventFunction) wxStaticCastEvent( wxSFShapeMouseEventFunction, &fn ), \ (wxObject *) NULL \ ),
Event table macro mapping event wxEVT_SF_SHAPE_DRAG. This event occures when the shape is dragging (sfsEMIT_EVENTS shape style must be in use).
#define EVT_SF_SHAPE_DRAG_BEGIN | ( | id, | |
fn | |||
) |
DECLARE_EVENT_TABLE_ENTRY( \ wxEVT_SF_SHAPE_DRAG_BEGIN, id, wxID_ANY, \ (wxObjectEventFunction)(wxEventFunction) wxStaticCastEvent( wxSFShapeMouseEventFunction, &fn ), \ (wxObject *) NULL \ ),
Event table macro mapping event wxEVT_SF_SHAPE_DRAG_BEGIN. This event occures when the shape has started to be dragged. (sfsEMIT_EVENTS shape style must be in use).
#define EVT_SF_SHAPE_DRAG_END | ( | id, | |
fn | |||
) |
DECLARE_EVENT_TABLE_ENTRY( \ wxEVT_SF_SHAPE_DRAG_END, id, wxID_ANY, \ (wxObjectEventFunction)(wxEventFunction) wxStaticCastEvent( wxSFShapeMouseEventFunction, &fn ), \ (wxObject *) NULL \ ),
Event table macro mapping event wxEVT_SF_SHAPE_DRAG_END. This event occures when the shape's dragging was finished (sfsEMIT_EVENTS shape style must be in use).
#define EVT_SF_SHAPE_HANDLE | ( | id, | |
fn | |||
) |
DECLARE_EVENT_TABLE_ENTRY( \ wxEVT_SF_SHAPE_HANDLE, id, wxID_ANY, \ (wxObjectEventFunction)(wxEventFunction) wxStaticCastEvent( wxSFShapeHandleEventFunction, &fn ), \ (wxObject *) NULL \ ),
Event table macro mapping event wxEVT_SF_SHAPE_HANDLE. This event occures when the shape's handle is dragging (sfsEMIT_EVENTS shape style must be in use).
#define EVT_SF_SHAPE_HANDLE_BEGIN | ( | id, | |
fn | |||
) |
DECLARE_EVENT_TABLE_ENTRY( \ wxEVT_SF_SHAPE_HANDLE_BEGIN, id, wxID_ANY, \ (wxObjectEventFunction)(wxEventFunction) wxStaticCastEvent( wxSFShapeHandleEventFunction, &fn ), \ (wxObject *) NULL \ ),
Event table macro mapping event wxEVT_SF_SHAPE_HANDLE_BEGIN. This event occures when the shape's handle has started to be dragged. (sfsEMIT_EVENTS shape style must be in use).
#define EVT_SF_SHAPE_HANDLE_END | ( | id, | |
fn | |||
) |
DECLARE_EVENT_TABLE_ENTRY( \ wxEVT_SF_SHAPE_HANDLE_END, id, wxID_ANY, \ (wxObjectEventFunction)(wxEventFunction) wxStaticCastEvent( wxSFShapeHandleEventFunction, &fn ), \ (wxObject *) NULL \ ),
Event table macro mapping event wxEVT_SF_SHAPE_HANDLE_END. This event occures when the shape's dragging was finished (sfsEMIT_EVENTS shape style must be in use).
#define EVT_SF_SHAPE_KEYDOWN | ( | id, | |
fn | |||
) |
DECLARE_EVENT_TABLE_ENTRY( \ wxEVT_SF_SHAPE_KEYDOWN, id, wxID_ANY, \ (wxObjectEventFunction)(wxEventFunction) wxStaticCastEvent( wxSFShapeKeyEventFunction, &fn ), \ (wxObject *) NULL \ ),
Event table macro mapping event wxEVT_SF_SHAPE_KEYDOWN. This event occures when the any key is pressed on selected shape (sfsEMIT_EVENTS shape style must be in use).
#define EVT_SF_SHAPE_LEFT_DCLICK | ( | id, | |
fn | |||
) |
DECLARE_EVENT_TABLE_ENTRY( \ wxEVT_SF_SHAPE_LEFT_DCLICK, id, wxID_ANY, \ (wxObjectEventFunction)(wxEventFunction) wxStaticCastEvent( wxSFShapeMouseEventFunction, &fn ), \ (wxObject *) NULL \ ),
Event table macro mapping event wxEVT_SF_SHAPE_LEFT_DCLICK. This event occures when the shape is double-clicked by a left mouse button (sfsEMIT_EVENTS shape style must be in use).
#define EVT_SF_SHAPE_LEFT_DOWN | ( | id, | |
fn | |||
) |
DECLARE_EVENT_TABLE_ENTRY( \ wxEVT_SF_SHAPE_LEFT_DOWN, id, wxID_ANY, \ (wxObjectEventFunction)(wxEventFunction) wxStaticCastEvent( wxSFShapeMouseEventFunction, &fn ), \ (wxObject *) NULL \ ),
Event table macro mapping event wxEVT_SF_SHAPE_LEFT_DOWN. This event occures when the shape is clicked by a left mouse button (sfsEMIT_EVENTS shape style must be in use).
#define EVT_SF_SHAPE_MOUSE_ENTER | ( | id, | |
fn | |||
) |
DECLARE_EVENT_TABLE_ENTRY( \ wxEVT_SF_SHAPE_MOUSE_ENTER, id, wxID_ANY, \ (wxObjectEventFunction)(wxEventFunction) wxStaticCastEvent( wxSFShapeMouseEventFunction, &fn ), \ (wxObject *) NULL \ ),
Event table macro mapping event wxEVT_SF_SHAPE_MOUSE_ENTER. This event occures when the mouse cursor enters the shape's area (sfsEMIT_EVENTS shape style must be in use).
#define EVT_SF_SHAPE_MOUSE_LEAVE | ( | id, | |
fn | |||
) |
DECLARE_EVENT_TABLE_ENTRY( \ wxEVT_SF_SHAPE_MOUSE_LEAVE, id, wxID_ANY, \ (wxObjectEventFunction)(wxEventFunction) wxStaticCastEvent( wxSFShapeMouseEventFunction, &fn ), \ (wxObject *) NULL \ ),
Event table macro mapping event wxEVT_SF_SHAPE_MOUSE_LEAVE. This event occures when the mouse cursor leaves the shape's area (sfsEMIT_EVENTS shape style must be in use).
#define EVT_SF_SHAPE_MOUSE_OVER | ( | id, | |
fn | |||
) |
DECLARE_EVENT_TABLE_ENTRY( \ wxEVT_SF_SHAPE_MOUSE_OVER, id, wxID_ANY, \ (wxObjectEventFunction)(wxEventFunction) wxStaticCastEvent( wxSFShapeMouseEventFunction, &fn ), \ (wxObject *) NULL \ ),
Event table macro mapping event wxEVT_SF_SHAPE_MOUSE_OVER. This event occures when the mouse cursor is moving over the shape's area (sfsEMIT_EVENTS shape style must be in use).
#define EVT_SF_SHAPE_RIGHT_DCLICK | ( | id, | |
fn | |||
) |
DECLARE_EVENT_TABLE_ENTRY( \ wxEVT_SF_SHAPE_RIGHT_DCLICK, id, wxID_ANY, \ (wxObjectEventFunction)(wxEventFunction) wxStaticCastEvent( wxSFShapeMouseEventFunction, &fn ), \ (wxObject *) NULL \ ),
Event table macro mapping event wxEVT_SF_SHAPE_RIGHT_DCLICK. This event occures when the shape is double-clicked by a right mouse button (sfsEMIT_EVENTS shape style must be in use).
#define EVT_SF_SHAPE_RIGHT_DOWN | ( | id, | |
fn | |||
) |
DECLARE_EVENT_TABLE_ENTRY( \ wxEVT_SF_SHAPE_RIGHT_DOWN, id, wxID_ANY, \ (wxObjectEventFunction)(wxEventFunction) wxStaticCastEvent( wxSFShapeMouseEventFunction, &fn ), \ (wxObject *) NULL \ ),
Event table macro mapping event wxEVT_SF_SHAPE_RIGHT_DOWN. This event occures when the shape is clicked by a right mouse button (sfsEMIT_EVENTS shape style must be in use).
#define EVT_SF_TEXT_CHANGE | ( | id, | |
fn | |||
) |
DECLARE_EVENT_TABLE_ENTRY( \ wxEVT_SF_TEXT_CHANGE, id, wxID_ANY, \ (wxObjectEventFunction)(wxEventFunction) wxStaticCastEvent( wxSFShapeTextEventFunction, &fn ), \ (wxObject *) NULL \ ),
Event table macro mapping event wxEVT_SF_TEXT_CHANGE. This event occures when the editable text shape's content is changed.
#define wxSFShapeChildDropEventHandler | ( | func | ) | (wxObjectEventFunction)(wxEventFunction)wxStaticCastEvent(wxSFShapeChildDropEventFunction, &func) |
#define wxSFShapeDropEventHandler | ( | func | ) | (wxObjectEventFunction)(wxEventFunction)wxStaticCastEvent(wxSFShapeDropEventFunction, &func) |
#define wxSFShapeEventHandler | ( | func | ) | (wxObjectEventFunction)(wxEventFunction)wxStaticCastEvent(wxSFShapeEventFunction, &func) |
#define wxSFShapeHandleEventHandler | ( | func | ) | (wxObjectEventFunction)(wxEventFunction)wxStaticCastEvent(wxSFShapeHandleEventFunction, &func) |
#define wxSFShapeKeyEventHandler | ( | func | ) | (wxObjectEventFunction)(wxEventFunction)wxStaticCastEvent(wxSFShapeKeyEventFunction, &func) |
#define wxSFShapeMouseEventHandler | ( | func | ) | (wxObjectEventFunction)(wxEventFunction)wxStaticCastEvent(wxSFShapeMouseEventFunction, &func) |
#define wxSFShapePasteEventHandler | ( | func | ) | (wxObjectEventFunction)(wxEventFunction)wxStaticCastEvent(wxSFShapePasteEventFunction, &func) |
#define wxSFShapeTextEventHandler | ( | func | ) | (wxObjectEventFunction)(wxEventFunction)wxStaticCastEvent(wxSFShapeTextEventFunction, &func) |
typedef void(wxEvtHandler::* wxSFShapeChildDropEventFunction)(wxSFShapeChildDropEvent &) |
typedef void(wxEvtHandler::* wxSFShapeDropEventFunction)(wxSFShapeDropEvent &) |
typedef void(wxEvtHandler::* wxSFShapeEventFunction)(wxSFShapeEvent &) |
typedef void(wxEvtHandler::* wxSFShapeHandleEventFunction)(wxSFShapeHandleEvent &) |
typedef void(wxEvtHandler::* wxSFShapeKeyEventFunction)(wxSFShapeKeyEvent &) |
typedef void(wxEvtHandler::* wxSFShapeMouseEventFunction)(wxSFShapeMouseEvent &) |
typedef void(wxEvtHandler::* wxSFShapePasteEventFunction)(wxSFShapePasteEvent &) |
typedef void(wxEvtHandler::* wxSFShapeTextEventFunction)(wxSFShapeTextEvent &) |
class WXDLLIMPEXP_SF wxSFShapeEvent |