]> Shamusworld >> Repos - architektonas/blob - src/actions/rs_actionzoomauto.h
Refactoring: Moved RS_GraphicView to GraphicView.
[architektonas] / src / actions / rs_actionzoomauto.h
1 #ifndef RS_ACTIONZOOMAUTO_H
2 #define RS_ACTIONZOOMAUTO_H
3
4 #include "rs_actioninterface.h"
5
6 /**
7  * This action triggers an auto zoom.
8  *
9  * @author Andrew Mustun
10  */
11 class RS_ActionZoomAuto: public RS_ActionInterface
12 {
13         public:
14                 RS_ActionZoomAuto(RS_EntityContainer & container, GraphicView & graphicView, bool keepAspectRatio = true);
15                 ~RS_ActionZoomAuto();
16
17                 virtual void init(int status = 0);
18                 virtual void trigger();
19
20         protected:
21                 bool keepAspectRatio;
22 };
23
24 #endif