15 #ifndef __WXCANSELECT_H__
16 #define __WXCANSELECT_H__
122 DECLARE_EVENT_TABLE()
155 double m_contentBorder;
183 virtual wxEvtHandler* GetParentEvtHandler() {
return m_parent.Get(); }
189 virtual void SetParent( a2dCanvasObject* parent ) { m_parent = parent; }
198 DECLARE_EVENT_TABLE()
200 void OnAnyButton( wxCommandEvent& event );
227 void SetCanvasCommand(
class a2dCommand* command );
234 void SetEvent( wxEvent* event );
243 void SetClientData( wxClientData* clientData ) { m_clientData = clientData; }
250 DECLARE_EVENT_TABLE()
252 void OnAnyChoice( wxCommandEvent& event );
262 wxClientData* m_clientData;
virtual a2dObject * DoClone(CloneOptions options, a2dRefMap *refs) const
Clone this object and return a pointer to the new object.
virtual void Render(a2dIterC &ic, OVERLAP clipparent)
Render this object to the active a2dDrawingPart.
all basic primitives derived from a2dCanvasObject
Base class for all types of strokes, understood by a2dDrawer2D classes.
mouse event sent from a2dCanvasObject to itself
a2dBoundingBox DoGetUnTransformedBbox(a2dBboxFlags flags=a2dCANOBJ_BBOX_NON) const
In derived object this should be overriden to calculate the boundingbox of the object without its chi...
class to map references to objects stored in XML, in order to make the connection later on...
bool DoIsHitWorld(a2dIterC &ic, a2dHitEvent &hitEvent)
Does hit test on the object (exclusif child objects)
OVERLAP
Result of a a2dBoundingBox intersection or hittest.
The base class for all drawable objects in a a2dCanvasDocument.
a2dCanvasObject is the base class for Canvas Objects.
bool DoUpdate(UpdateMode mode, const a2dBoundingBox &childbox, const a2dBoundingBox &clipbox, const a2dBoundingBox &propbox)
Update derived Object specific things ( mainly boundingbox)
Io handler to iterate through a a2dDocument.
rectangular shapes derived from a2dCanvasObject
void DoRender(a2dIterC &ic, OVERLAP clipparent)
render derived object
A 2x3 affine matrix class for 2D transformations.
while iterating a a2dCanvasDocument, this holds the context.
virtual void DrawHighLighted(a2dIterC &ic)
called by Render() if m_flags.m_HighLight is set
The a2dBoundingBox class stores one a2dBoundingBox of a a2dCanvasObject.
structure to give as parameter to member functions of a2dCanvasObject
virtual void DoWalker(wxObject *parent, a2dWalkerIOHandler &handler)
iterate over this object and its children
a base command for the a2dCommandProcessor