1 // rs_actionzoomscroll.cpp
3 // Part of the Architektonas Project
4 // Originally part of QCad Community Edition by Andrew Mustun
5 // Extensively rewritten and refactored by James L. Hammons
6 // (C) 2010 Underground Software
8 // JLH = James L. Hammons <jlhamm@acm.org>
11 // --- ---------- -----------------------------------------------------------
12 // JLH 06/05/2010 Added this text. :-)
15 #include "rs_actionzoomscroll.h"
17 #include "graphicview.h"
19 RS_ActionZoomScroll::RS_ActionZoomScroll(RS2::Direction direction, RS_EntityContainer & container, GraphicView & graphicView):
20 RS_ActionInterface("Zoom scroll", container, graphicView)
22 this->direction = direction;
25 RS_ActionZoomScroll::~RS_ActionZoomScroll()
29 void RS_ActionZoomScroll::trigger()
31 graphicView->zoomScroll(direction);
35 void RS_ActionZoomScroll::init(int status)
37 RS_ActionInterface::init(status);