wxArt2D
Classes | Macros | Typedefs | Enumerations | Functions | Variables
canglob.h File Reference

general canvas module declarations and classes More...

#include "wx/wx.h"
#include <map>
#include "wx/geometry.h"
#include <wx/module.h>
#include <wx/general/gen.h>
#include <wx/artbase/drawer2d.h>
#include "wx/canvas/candefs.h"
#include "wx/canvas/restrict.h"
#include "wx/canvas/canprim.h"
#include "wx/canvas/layerinf.h"
#include "wx/canvas/cantext.h"
#include "wx/canvas/objlist.h"
#include "wx/paper.h"
#include "wx/print.h"
Include dependency graph for canglob.h:
This graph shows which files directly or indirectly include this file:

Go to the source code of this file.

Classes

class  a2dLayerGroup
 holds a list of layers numbers More...
 
class  a2dCanvasModule
 initiation module for the wxArt2D library More...
 
class  a2dCanvasObjectEvent
 see a2dCanvasObjectMouseEvent More...
 
class  a2dCanvasObjectMouseEvent
 mouse event sent from a2dCanvasObject to itself More...
 
class  a2dHandleMouseEvent
 general event sent from a2dHandle to its parent a2dCanvasObject More...
 
class  a2dArtProvider
 provide cursors etc. More...
 
class  a2dHabitat
 defines common settinsg for a habitat for a set of a2dCameleons. More...
 
class  a2dCanvasGlobal
 contains global settings for the a2dCanvas library More...
 
class  a2dTimer
 wxArt2D specific a2dTimer which notifies a2dCanvasObject's More...
 

Macros

#define EVT_CANVASOBJECT_MOUSE_EVENT(func)   DECLARE_EVENT_TABLE_ENTRY( wxEVT_CANVASOBJECT_MOUSE_EVENT, wxID_ANY, wxID_ANY, (wxObjectEventFunction) static_cast < a2dCanvasObjectMouseEventFunction > ( & func ), (wxObject *) NULL ),
 static event table macro for a2dCanvasObject mouse event
 
#define EVT_CANVASOBJECT_ENTER_EVENT(func)   DECLARE_EVENT_TABLE_ENTRY( wxEVT_CANVASOBJECT_ENTER_EVENT, wxID_ANY, wxID_ANY, (wxObjectEventFunction) static_cast < a2dCanvasObjectMouseEventFunction > ( & func ), (wxObject *) NULL ),
 static event table macro for a2dCanvasObject mouse enter event
 
#define EVT_CANVASOBJECT_LEAVE_EVENT(func)   DECLARE_EVENT_TABLE_ENTRY( wxEVT_CANVASOBJECT_LEAVE_EVENT, wxID_ANY, wxID_ANY, (wxObjectEventFunction) static_cast < a2dCanvasObjectMouseEventFunction > ( & func ), (wxObject *) NULL ),
 static event table macro for a2dCanvasObject mouse leave event
 
#define EVT_CANVASHANDLE_MOUSE_EVENT(func)   DECLARE_EVENT_TABLE_ENTRY( wxEVT_CANVASHANDLE_MOUSE_EVENT, wxID_ANY, wxID_ANY, (wxObjectEventFunction) static_cast < a2dCanvasHandleMouseEventFunction > ( & func ), (wxObject *) NULL ),
 static event table macro for a2dHandle mouse event
 
#define EVT_CANVASHANDLE_MOUSE_EVENT_ENTER(func)   DECLARE_EVENT_TABLE_ENTRY( wxEVT_CANVASHANDLE_MOUSE_EVENT_ENTER, wxID_ANY, wxID_ANY, (wxObjectEventFunction) static_cast < a2dCanvasHandleMouseEventFunction > ( & func ), (wxObject *) NULL ),
 static event table macro for a2dHandle mouse enter event
 
#define EVT_CANVASHANDLE_MOUSE_EVENT_LEAVE(func)   DECLARE_EVENT_TABLE_ENTRY( wxEVT_CANVASHANDLE_MOUSE_EVENT_LEAVE, wxID_ANY, wxID_ANY, (wxObjectEventFunction) static_cast < a2dCanvasHandleMouseEventFunction > ( & func ), (wxObject *) NULL ),
 static event table macro for a2dHandle mouse leave event
 
#define EVT_CANVASOBJECT_POPUPMENU_EVENT(func)   DECLARE_EVENT_TABLE_ENTRY( wxEVT_CANVASOBJECT_POPUPMENU_EVENT, wxID_ANY, wxID_ANY, (wxObjectEventFunction) static_cast < a2dCanvasObjectMouseEventFunction > ( & func ), (wxObject *) NULL ),
 static event table macro for a2dCanvasObject mouse Right Down event
 
#define EVT_CANVASOBJECT_RESIZE_EVENT(func)   DECLARE_EVENT_TABLE_ENTRY( wxEVT_CANVASOBJECT_RESIZE_EVENT, wxID_ANY, wxID_ANY, (wxObjectEventFunction) static_cast < a2dCanvasObjectEventFunction > ( & func ), (wxObject *) NULL ),
 static event table macro for a2dCanvasObject resize event
 
#define EVT_CANVASOBJECT_TIMER(timerid, func)   DECLARE_EVENT_TABLE_ENTRY( wxEVT_TIMER, timerid, -1, (wxObjectEventFunction) wxStaticCastEvent( wxCanvasObjectTimerEventFunction, & func ), NULL),
 timer event for a2dCanvasObject from a2dTimer
 

Typedefs

typedef void(wxEvtHandler::* a2dCanvasObjectEventFunction )(a2dCanvasObjectEvent &)
 event function for a2dCanvasObjectEvent
 
typedef void(wxEvtHandler::* a2dCanvasHandleMouseEventFunction )(a2dHandleMouseEvent &)
 event function for a2dHandleMouseEvent
 
typedef void(wxEvtHandler::* a2dCanvasObjectMouseEventFunction )(a2dCanvasObjectMouseEvent &)
 event function for a2dCanvasObjectMouseEvent
 
typedef unsigned int a2dCursorId
 
typedef unsigned int a2dImageId
 
typedef a2dSmrtPtr< a2dHabitata2dHabitatPtr
 
typedef void(wxEvtHandler::* wxCanvasObjectTimerEventFunction )(wxTimerEvent &)
 a2dEvtHandler event function for wxTimerEvent
 

Enumerations

enum  a2dNextSeg { WIREEND_STRAIGHT, WIREEND_MANHATTAN_X, WIREEND_MANHATTAN_Y }
 

Functions

a2dDocumentRenderStyle operator| (a2dDocumentRenderStyle a, a2dDocumentRenderStyle b)
 OR-ing a2dDocumentRenderStyle is allowed.
 

Variables

class A2DGENERALDLLEXP a2dWalkerIOHandler
 
const a2dCursorId a2dCURSOR_NONE
 
const a2dCursorId a2dCURSOR_ARROW
 
const a2dCursorId a2dCURSOR_RIGHT_ARROW
 
const a2dCursorId a2dCURSOR_BULLSEYE
 
const a2dCursorId a2dCURSOR_CHAR
 
const a2dCursorId a2dCURSOR_CROSS
 
const a2dCursorId a2dCURSOR_HAND
 
const a2dCursorId a2dCURSOR_IBEAM
 
const a2dCursorId a2dCURSOR_LEFT_BUTTON
 
const a2dCursorId a2dCURSOR_MAGNIFIER
 
const a2dCursorId a2dCURSOR_MIDDLE_BUTTON
 
const a2dCursorId a2dCURSOR_NO_ENTRY
 
const a2dCursorId a2dCURSOR_PAINT_BRUSH
 
const a2dCursorId a2dCURSOR_PENCIL
 
const a2dCursorId a2dCURSOR_POINT_LEFT
 
const a2dCursorId a2dCURSOR_POINT_RIGHT
 
const a2dCursorId a2dCURSOR_QUESTION_ARROW
 
const a2dCursorId a2dCURSOR_RIGHT_BUTTON
 
const a2dCursorId a2dCURSOR_SIZENESW
 
const a2dCursorId a2dCURSOR_SIZENS
 
const a2dCursorId a2dCURSOR_SIZENWSE
 
const a2dCursorId a2dCURSOR_SIZEWE
 
const a2dCursorId a2dCURSOR_SIZING
 
const a2dCursorId a2dCURSOR_SPRAYCAN
 
const a2dCursorId a2dCURSOR_WAIT
 
const a2dCursorId a2dCURSOR_WATCH
 
const a2dCursorId a2dCURSOR_BLANK
 
const a2dCursorId a2dCURSOR_ARROWWAIT
 
const a2dCursorId a2dCURSOR_Select
 
const a2dCursorId a2dCURSOR_Select2
 
const a2dCursorId a2dCURSOR_Zoom
 
const a2dCursorId a2dCURSOR_Drag
 
const a2dCursorId a2dCURSOR_Move
 
const a2dCursorId a2dCURSOR_Copy
 
const a2dCursorId a2dCURSOR_DrawWire
 
const a2dCursorId a2dCURSOR_EditWire
 
const a2dCursorId a2dCURSOR_EditWireVertex
 
const a2dCursorId a2dCURSOR_EditWireDeleteVertex
 
const a2dCursorId a2dCURSOR_EditWireSegment
 
const a2dCursorId a2dCURSOR_EditWireSegmentHorizontal
 
const a2dCursorId a2dCURSOR_EditWireSegmentVertical
 
const a2dCursorId a2dCURSOR_WireSegmentInsert
 
const a2dCursorId a2dCURSOR_Edit
 
const a2dCursorId a2dCURSOR_EditVertex
 
const a2dCursorId a2dCURSOR_EditDeleteVertex
 
const a2dCursorId a2dCURSOR_EditSegment
 
const a2dCursorId a2dCURSOR_EditSegmentHorizontal
 
const a2dCursorId a2dCURSOR_EditSegmentVertical
 
const a2dCursorId a2dCURSOR_SegmentInsert
 
const a2dCursorId a2dCURSOR_HandleLeftDown
 
const a2dCursorId a2dCURSOR_HandleMove
 
const a2dCursorId a2dCURSOR_HandleDrag
 
const a2dCursorId a2dCURSOR_HandleEnter
 
const a2dCursorId a2dCURSOR_HandleLeave
 
const a2dCursorId a2dCURSOR_CanvasObjectHit
 
const a2dCursorId a2dCURSOR_CanvasObjectEnter
 
const a2dCursorId a2dCURSOR_CanvasObjectLeave
 
const a2dImageId a2dBitmap_EditRectangleFill
 
a2dCanvasGlobala2dCanvasGlobals
 global a2dCanvasGlobal to have easy access to global settings
 

Detailed Description

general canvas module declarations and classes

The event classes for an a2dCanvasObject are here. And a2dCanvasGlobal holds settings for the canvas module. Storing layers settings as a template for layer settings of new documents is a typical use of wxCanvasGlobals.

a2dTimer, is a wxTimes special for a2dCanvasObject

Author
Klaas Holwerda

Copyright: 2000-2004 (c) Klaas Holwerda

Licence: wxWidgets Licence

Classes, functions and enumration for use in all othere files, are located here.

RCS-ID:

Id:
canglob.h,v 1.58 2009/09/03 20:09:53 titato Exp

Definition in file canglob.h.

canglob.h File Reference -- Sun Oct 12 2014 17:04:26 -- Sun Oct 12 2014 -- 1.8.5 -- wxArt2D -- . -- Main Page Reference Documentation