]> Shamusworld >> Repos - architektonas/blob - src/drawtextaction.h
23c7c6a4fa57681dd44e04489a250aed3f11078f
[architektonas] / src / drawtextaction.h
1 #ifndef __DRAWTEXTACTION_H__
2 #define __DRAWTEXTACTION_H__
3
4 #include "action.h"
5
6 class Text;
7
8 class DrawTextAction: public Action
9 {
10         public:
11                 DrawTextAction();
12                 ~DrawTextAction();
13
14                 virtual void Draw(Painter *);
15                 virtual void MouseDown(Vector);
16                 virtual void MouseMoved(Vector);
17                 virtual void MouseReleased(void);
18
19         private:
20                 int state;
21                 Text * text;
22                 Vector p1;
23 };
24
25 #endif  // __DRAWTEXTACTION_H__