]> Shamusworld >> Repos - architektonas/blob - src/actions/rs_actionmodifyattributes.h
af0858d35875d36d3d961e817486bd583ef6f567
[architektonas] / src / actions / rs_actionmodifyattributes.h
1 #ifndef RS_ACTIONMODIFYATTRIBUTES_H
2 #define RS_ACTIONMODIFYATTRIBUTES_H
3
4 #include "rs_actioninterface.h"
5
6 /**
7  * This action class can handle user events to change the attributes of
8  * entities.
9  *
10  * @author Andrew Mustun
11  */
12 class RS_ActionModifyAttributes: public RS_ActionInterface
13 {
14         public:
15                 /**
16                  * Action States.
17                  */
18                 enum Status {
19                         Acknowledge    /**< Acknowledge or cancel. */
20                 };
21
22         public:
23                 RS_ActionModifyAttributes(RS_EntityContainer & container, RS_GraphicView & graphicView);
24                 ~RS_ActionModifyAttributes();
25
26                 virtual void init(int status = 0);
27                 virtual void trigger();
28                 virtual void updateMouseButtonHints();
29                 virtual void updateMouseCursor();
30                 virtual void updateToolBar();
31 };
32
33 #endif