]> Shamusworld >> Repos - architektonas/blob - src/actions/actionzoomin.h
In the middle of major refactoring...
[architektonas] / src / actions / actionzoomin.h
1 #ifndef __ACTIONZOOMIN_H__
2 #define __ACTIONZOOMIN_H__
3
4 #include "rs.h"
5 #include "actioninterface.h"
6 #include "vector.h"
7
8 /**
9  * This action triggers zoom increase.
10  *
11  * @author James Hammons
12  * @author Andrew Mustun
13  */
14 class ActionZoomIn: public ActionInterface
15 {
16         public:
17                 ActionZoomIn(RS_EntityContainer & container, GraphicView & graphicView, RS2::ZoomDirection direction = RS2::In, RS2::Axis axis = RS2::Both, const Vector & center = Vector(false));
18                 ~ActionZoomIn();
19
20                 virtual void init(int status = 0);
21                 virtual void trigger();
22
23         protected:
24                 RS2::ZoomDirection direction;
25                 RS2::Axis axis;
26                 Vector center;
27 };
28
29 #endif  // __ACTIONZOOMIN_H__