a2dZoomTool Class Reference
[Objects used for interactive manipulation.]

Interactive Zooming. More...

#include <sttool.h>

Inheritance diagram for a2dZoomTool:

Inheritance graph
[legend]
Collaboration diagram for a2dZoomTool:

Collaboration graph
[legend]

List of all members.

Public Member Functions

 a2dZoomTool (a2dStToolContr *controller)
 constructor
 a2dZoomTool (const a2dZoomTool &other, CloneOptions options)
 constructor
 ~a2dZoomTool ()
 destructor
virtual a2dObjectClone (CloneOptions options=clone_deep) const
 create an exact copy of this property
bool ZoomSave ()
 Is Zooming while the tool is busy Save.

Static Public Attributes

static const a2dCommandId COMID_PushTool_Zoom
 push this tool on the tools stack

Protected Member Functions

virtual void GenerateAnotation ()
 to display a string along with a tool drawing.
void OnChar (wxKeyEvent &event)
 character handling
void OnMouseEvent (wxMouseEvent &event)
 called on mouse events
virtual wxString GetCommandGroupName ()
 return the command group name for commands of a derived class

Protected Attributes

bool m_draggingCanvas


Detailed Description

Interactive Zooming.

Use mouse to drag a rectangle to zoom into area.

Remarks:
Left Click and/or drag.

Right Click for zoom popup.

Double Left Click for zoom out.

See also:
a2dStToolContr

Definition at line 742 of file sttool.h.


Member Function Documentation

bool a2dZoomTool::ZoomSave (  )  [inline, virtual]

Is Zooming while the tool is busy Save.

If so, the active tool will redraw itself in the new Mapping state

Implements a2dBaseTool.

Definition at line 762 of file sttool.h.

virtual wxString a2dZoomTool::GetCommandGroupName (  )  [inline, protected, virtual]

return the command group name for commands of a derived class

this defaults to the class name

Reimplemented from a2dBaseTool.

Definition at line 773 of file sttool.h.


The documentation for this class was generated from the following files:
a2dZoomTool Class Reference -- Tue Aug 31 18:39:06 2010 -- 31 Aug 2010 -- 1.5.5 -- wxArt2D -- . -- Main Page Reference Documentation