#include <zoomops.h>
Inheritance diagram for OpZoomIn:
Public Member Functions | |
OpZoomIn () | |
virtual void | Do (OpDescriptor *) |
Calls the base class function to zoom in! | |
Static Public Member Functions | |
static BOOL | Init () |
Initialises the OpDragBox base-class drag operation. Loads preferences. | |
static OpState | GetState (String_256 *Description, OpDescriptor *) |
Func for determining the usability of this op. | |
Private Member Functions | |
CC_DECLARE_DYNCREATE (OpZoomIn) |
Definition at line 259 of file zoomops.h.
|
Definition at line 1443 of file zoomops.cpp.
|
|
|
|
Calls the base class function to zoom in!
Reimplemented from OpZoom. Definition at line 1492 of file zoomops.cpp. 01493 { 01494 // Ok! lets zoom in! 01495 DocView* pDocView = DocView::GetCurrent(); 01496 01497 if(pDocView) 01498 { 01499 const WorkRect ZoomRect = pDocView->GetViewRect(); 01500 ZoomIn(ZoomRect.Centre()); 01501 } 01502 else 01503 { 01504 ERROR3IF(pDocView == 0, "No current DocView found!"); 01505 } 01506 }
|
|
Func for determining the usability of this op.
Definition at line 1476 of file zoomops.cpp. 01477 { 01478 OpState State; 01479 return State; 01480 }
|
|
Initialises the OpDragBox base-class drag operation. Loads preferences.
Reimplemented from OpDragBox. Definition at line 1447 of file zoomops.cpp. 01448 { 01449 BOOL ok = RegisterOpDescriptor( 01450 0, 01451 _R(IDS_ZOOMIN), 01452 CC_RUNTIME_CLASS(OpZoomIn), 01453 OPTOKEN_ZOOMIN, 01454 OpZoomIn::GetState, 01455 0, /* help ID */ 01456 0, /* bubble ID */ 01457 0 /* bitmap ID */ 01458 ); 01459 return ok; 01460 }
|