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