#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 |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|