class
ChainViewersCmd
: public
Command
(Return to index)
command to chain other viewers to this one under panning and/or zooming.
Type:
Instantiable
Base Classes:
public
Command
Derived Classes
Include file:
OverlayUnidraw/ovchainview.h
Public:
ChainViewersCmd
(
Viewer
*,
ControlInfo
*, boolean pan = true, boolean zoom = true)
ChainViewersCmd
(
Viewer
*,
Editor
* = nil, boolean pan = true, boolean zoom = true)
virtual
Command
*
Copy
()
virtual void
Execute
()
set flags that indicate whether viewer is to be chained for pan or zoom.
virtual ClassId
GetClassId
()
virtual boolean
IsA
(ClassId)
virtual void
Log
()
log command without modifying document.
virtual void
Unexecute
()
clear flags that indicate whether viewer is to be chained for pan or zoom.
virtual
~ChainViewersCmd
()
Protected:
boolean
_pan
Viewer
*
_viewer
boolean
_zoom
(more documentation)