wxArt2D
Classes | Enumerations | Functions | Variables
sttool.h File Reference

stack based tools controller and tools for drawing and editing. More...

#include "wx/wx.h"
#include <wx/listimpl.cpp>
#include "wx/canvas/canobj.h"
#include "wx/canvas/tools.h"
#include "wx/canvas/restrict.h"
Include dependency graph for sttool.h:
This graph shows which files directly or indirectly include this file:

Go to the source code of this file.

Classes

class  a2dStTool
 The a2dStTool is used to derive tools from. More...
 
class  a2dStDrawTool
 base for tools that draw and are stack based. More...
 
class  a2dStToolContr
 The a2dStToolContr is a Tool Controller specialized for working with a2dCanvasView. More...
 
class  a2dDrawRectangleTool
 Interactive drawing of a Rectangle. More...
 
class  a2dZoomTool
 Interactive Zooming. More...
 
class  a2dSelectTool
 Interactive Selection of an Object. More...
 
class  a2dImageTool
 Interactive Insertion of an a2dImage Object. More...
 
class  a2dDragTool
 Interactive drag an object. More...
 
class  a2dDragOrgTool
 
class  a2dDragNewTool
 Interactive drag a new object into a drawing. More...
 
class  a2dCopyTool
 Interactive copy an object. More...
 
class  a2dRotateTool
 Interactive rotate an object. More...
 
class  a2dDeleteTool
 Interactive delete an object. More...
 
class  a2dDrawCircleTool
 Interactive drawing of a Circle. More...
 
class  a2dDrawLineTool
 Interactive drawing of a EllipticArc. More...
 
class  a2dDrawEllipseTool
 Interactive drawing of a Ellipse. More...
 
class  a2dDrawEllipticArcTool
 Interactive drawing of a EllipticArc. More...
 
class  a2dDrawArcTool
 Interactive drawing of a circular arc. More...
 
class  a2dDrawPolygonLTool
 Interactive drawing of a polygon. More...
 
class  a2dDrawPolylineLTool
 Interactive drawing of a polyline. More...
 
class  a2dDrawWirePolylineLTool
 Interactive drawing of a polyline wire. More...
 
class  a2dDragMultiTool
 Drag Selected canvasObjects. More...
 
class  a2dDragMultiNewTool
 
class  a2dCopyMultiTool
 Drag and Copy Selected canvasObjects. More...
 
class  a2dDrawTextTool
 Interactive drawing a text object. More...
 
class  a2dPropertyTool
 Interactive edit properties of an object. More...
 
class  a2dStToolEvtHandler
 behaviour model of a2dStTool tools More...
 
class  a2dStToolFixedToolStyleEvtHandler
 makes a tool fixed in style. More...
 
class  a2dDrawVPathTool
 Interactive drawing of a polygon. More...
 
class  a2dFollowLink
 Interactive follow link. More...
 
class  a2dMovePinTool
 Interactive drag a a2dPin on a wire. More...
 

Enumerations

enum  a2dSTAT_ID {
  STAT_Xd_Yd, STAT_Xw_Yw, STAT_ToolString, STAT_toolHelp = 3,
  STAT_Feedback = 10, STAT_Feedback2
}
 
enum  DRAGMODE { wxDRAW_RECTANGLE, wxDRAW_ONTOP, wxDRAW_REDRAW, wxDRAW_COPY }
 
enum  wxTC_BEHAVIOR {
  wxTC_DefaultBehavior = 0x00000000, wxTC_NoDefaultKeys = 0x00000001, wxTC_NoContextMenu = 0x00000002, wxTC_NoDefaultMouseActions = 0x00000004,
  wxTC_NoAll = 0xFFFFFFFF
}
 
enum  a2dWiringMode {
  a2d_BasedOnClassStartPin, a2d_BasedOnWireClassRequired, a2d_BasedOnObjectClassRequired, a2d_BasedOnClassEndPin,
  a2d_StartGenerateSearchFinish
}
 the way a new wire is created More...
 

Functions

 WX_DECLARE_LIST_WITH_DECL (a2dBoundingBox, wxZoomList, class)
 
a2dStToolEvtHandler::options operator| (a2dStToolEvtHandler::options a, a2dStToolEvtHandler::options b)
 OR-ing a2dHitOption is allowed.
 

Variables

const long TC_UNDO
 zoom menu
 
const long TC_REDO
 
const long TC_ENDTOOL
 
const long TC_ZOOMIN
 
const long TC_ZOOMOUT
 
const long TC_ZOOMBACK
 
const long TC_ZOOMOUT2
 
const long TC_ZOOMIN2
 
const long TC_ZOOMPANXY
 
const long TC_PROPERTY_XY
 

Detailed Description

stack based tools controller and tools for drawing and editing.

This is a whole set of tools and controller which work closely together, such that they can function well inside one application. The controller uses a stack of tools, where the first one is always active.

Author
Klaas Holwerda

Copyright: 2001-2004 (c) Klaas Holwerda

Licence: wxWidgets Licence

RCS-ID:

Id:
sttool.h,v 1.48 2009/10/01 19:22:35 titato Exp

Definition in file sttool.h.

Enumeration Type Documentation

the way a new wire is created

Enumerator
a2d_BasedOnClassStartPin 

the pin which is clicked as start pin for the wire, its pinclass is used to find a connecting pinclass in the wire beginpin. Only usefull if there is only one type of wire possible for that pinclass.

a2d_BasedOnWireClassRequired 

the tool provides a starting wire pinclass, only pins which can connect to his wirepin its pinclass, will be clickable. Use this to only draw specific wires from this tool.

a2d_BasedOnClassEndPin 

the wire will be decided when the end pin for the wire is hit, based on the start pin and endpin. use this if more then on type of wire can start from a certain pinclass, and it depends on the end pin what type of wire it will be.

Definition at line 1882 of file sttool.h.

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