zoomops.h File Reference

(r1785/r1771)

#include "opdragbx.h"

Go to the source code of this file.

Classes

class  OpZoom
 This operation can perform zooms in and out of the current DocView, either by an immediate call to the ZoomIn/ZoomOut/ZoomInOnRect/ZoomAtPoint functions, or by a call to the DoDrag function, which starts a mouse drag to define a zoom box. More...
class  OpZoomIn
 This op has been written so that we can use the NumPad Plus key to fire off a zoom in operation. We can`t use the zoom op directly as the hotkey code calls the Do() function instead of the DoWithParam(). What this class does is basically call the ZoomOps DoWithParam() from it`s Do() function. More...
class  OpZoomOut
 This op has been written so that we can use the NumPad Minus key to fire off a zoom out operation. We can`t use the zoom op directly as the hotkey code calls the Do() function instead of the DoWithParam(). What this class does is basically call the ZoomOps DoWithParam() from it`s Do() function. More...
class  OpZoomTo100
 This op has been written so that we can use the NumPad Plus key to fire off a zoom in operation. We can`t use the zoom op directly as the hotkey code calls the Do() function instead of the DoWithParam(). What this class does is basically call the ZoomOps DoWithParam() from it`s Do() function. More...
class  OpZoomTo200
 This op has been written so that we can use the NumPad Plus key to fire off a zoom in operation. We can`t use the zoom op directly as the hotkey code calls the Do() function instead of the DoWithParam(). What this class does is basically call the ZoomOps DoWithParam() from it`s Do() function. More...
class  OpZoomTo300
 This op has been written so that we can use the NumPad Plus key to fire off a zoom in operation. We can`t use the zoom op directly as the hotkey code calls the Do() function instead of the DoWithParam(). What this class does is basically call the ZoomOps DoWithParam() from it`s Do() function. More...
class  OpZoomTo400
 This op has been written so that we can use the NumPad Plus key to fire off a zoom in operation. We can`t use the zoom op directly as the hotkey code calls the Do() function instead of the DoWithParam(). What this class does is basically call the ZoomOps DoWithParam() from it`s Do() function. More...
class  OpZoomDescriptor
 Base class to the two zoom tool OpDescriptors, OpZoomComboDescriptor and OpZoomButtonDescriptor. Simplifies the parameters required by a constructor call, and provides default GetState and message handlers. More...
class  OpZoomFitSpreadDescriptor
 OpDescriptor for the zoom tool's "Fit to spread" button. More...
class  OpZoomFitDrawingDescriptor
 OpDescriptor for the zoom tool's "Fit to drawing" button. More...
class  OpZoomFitSelectedDescriptor
 OpDescriptor for the zoom tool's "Fit to selected" button. More...
class  OpZoomFitRectDescriptor
 OpDescriptor used to zoom to a specific rectangle. More...
class  OpZoomPrevZoomDescriptor
 OpDescriptor for the zoom tool's "Previous Zoom" button. More...
class  OpZoomComboDescriptor
 OpDescriptor for the zoom tool's combo-box containing scale factors. More...
class  ZoomInfoBarOp
 Handles creation/destruction and message handling for the zoom tool info-bar. More...
class  ZoomInfoBarOpCreate
 Class for creating (dummy) InformationBarOps. Derived classes of BarCreate are used by DialogBarOp::ReadBarsFromFile(). More...

Defines

#define OPTOKEN_ZOOMCOMBO   TEXT("ZoomCombo")
#define OPTOKEN_ZOOMPREV   TEXT("ZoomPrev")
#define OPTOKEN_ZOOMSPREAD   TEXT("ZoomSpread")
#define OPTOKEN_ZOOMDRAWING   TEXT("ZoomDrawing")
#define OPTOKEN_ZOOMSELECTED   TEXT("ZoomSelect")
#define OPTOKEN_ZOOMRECT   TEXT("ZoomRect")
#define OPTOKEN_ZOOMIN   TEXT("ZoomIn")
#define OPTOKEN_ZOOMOUT   TEXT("ZoomOut")
#define OPTOKEN_ZOOMTO100   TEXT("Zoom100")
#define OPTOKEN_ZOOMTO200   TEXT("Zoom200")
#define OPTOKEN_ZOOMTO300   TEXT("Zoom300")
#define OPTOKEN_ZOOMTO400   TEXT("Zoom400")
#define ZOOM_MIN_DRAG   5000

Variables

const INT32 cZoomTableSize = 13
const INT32 cDefaultZoomIndex = 8
const INT32 cUninitZoomIndex = -2
const INT32 cFractionalZoomIndex = -1
const INT32 cComboDivider1 = cZoomTableSize
const INT32 cFitToSpreadIndex = cZoomTableSize + 1
const INT32 cFitToDrawingIndex = cZoomTableSize + 2
const INT32 cFitToSelectedIndex = cZoomTableSize + 3
const INT32 cPreviousZoomIndex = cZoomTableSize + 4
const INT32 cComboDivider2 = cZoomTableSize + 5


Define Documentation

#define OPTOKEN_ZOOMCOMBO   TEXT("ZoomCombo")
 

Definition at line 111 of file zoomops.h.

#define OPTOKEN_ZOOMDRAWING   TEXT("ZoomDrawing")
 

Definition at line 114 of file zoomops.h.

#define OPTOKEN_ZOOMIN   TEXT("ZoomIn")
 

Definition at line 117 of file zoomops.h.

#define OPTOKEN_ZOOMOUT   TEXT("ZoomOut")
 

Definition at line 118 of file zoomops.h.

#define OPTOKEN_ZOOMPREV   TEXT("ZoomPrev")
 

Definition at line 112 of file zoomops.h.

#define OPTOKEN_ZOOMRECT   TEXT("ZoomRect")
 

Definition at line 116 of file zoomops.h.

#define OPTOKEN_ZOOMSELECTED   TEXT("ZoomSelect")
 

Definition at line 115 of file zoomops.h.

#define OPTOKEN_ZOOMSPREAD   TEXT("ZoomSpread")
 

Definition at line 113 of file zoomops.h.

#define OPTOKEN_ZOOMTO100   TEXT("Zoom100")
 

Definition at line 119 of file zoomops.h.

#define OPTOKEN_ZOOMTO200   TEXT("Zoom200")
 

Definition at line 120 of file zoomops.h.

#define OPTOKEN_ZOOMTO300   TEXT("Zoom300")
 

Definition at line 121 of file zoomops.h.

#define OPTOKEN_ZOOMTO400   TEXT("Zoom400")
 

Definition at line 122 of file zoomops.h.

#define ZOOM_MIN_DRAG   5000
 

Definition at line 125 of file zoomops.h.


Variable Documentation

const INT32 cComboDivider1 = cZoomTableSize
 

Definition at line 146 of file zoomops.h.

const INT32 cComboDivider2 = cZoomTableSize + 5
 

Definition at line 151 of file zoomops.h.

const INT32 cDefaultZoomIndex = 8
 

Definition at line 141 of file zoomops.h.

const INT32 cFitToDrawingIndex = cZoomTableSize + 2
 

Definition at line 148 of file zoomops.h.

const INT32 cFitToSelectedIndex = cZoomTableSize + 3
 

Definition at line 149 of file zoomops.h.

const INT32 cFitToSpreadIndex = cZoomTableSize + 1
 

Definition at line 147 of file zoomops.h.

const INT32 cFractionalZoomIndex = -1
 

Definition at line 144 of file zoomops.h.

const INT32 cPreviousZoomIndex = cZoomTableSize + 4
 

Definition at line 150 of file zoomops.h.

const INT32 cUninitZoomIndex = -2
 

Definition at line 143 of file zoomops.h.

const INT32 cZoomTableSize = 13
 

Definition at line 140 of file zoomops.h.


Generated on Sat Nov 10 03:49:26 2007 for Camelot by  doxygen 1.4.4