]> Shamusworld >> Repos - architektonas/blob - src/actions/actionzoomauto.h
Bugfixes related to removing Snapper class.
[architektonas] / src / actions / actionzoomauto.h
1 #ifndef __ACTIONZOOMAUTO_H__
2 #define __ACTIONZOOMAUTO_H__
3
4 #include "actioninterface.h"
5
6 /**
7  * This action triggers an auto zoom.
8  *
9  * @author James Hammons
10  * @author Andrew Mustun
11  */
12 class ActionZoomAuto: public ActionInterface
13 {
14         public:
15                 ActionZoomAuto(EntityContainer & container, GraphicView & graphicView, bool keepAspectRatio = true);
16                 ~ActionZoomAuto();
17
18                 virtual void init(int status = 0);
19                 virtual void trigger();
20
21         protected:
22                 bool keepAspectRatio;
23 };
24
25 #endif  // __ACTIONZOOMAUTO_H__