X-Git-Url: http://shamusworld.gotdns.org/cgi-bin/gitweb.cgi?a=blobdiff_plain;f=src%2Fdrawdimensionaction.h;h=0e691ed834521a43b0594c3ae194d1e27dd3fbbb;hb=4d6ba8a6eb781dbee818b6a55d21df7b52468936;hp=ccb9132e61005655952ff98a38ffb305119dd478;hpb=1a13a1484af21f55d5be4847d0b158a43f9c36d2;p=architektonas diff --git a/src/drawdimensionaction.h b/src/drawdimensionaction.h index ccb9132..0e691ed 100644 --- a/src/drawdimensionaction.h +++ b/src/drawdimensionaction.h @@ -4,6 +4,7 @@ #include "action.h" class Dimension; +class Object; class DrawDimensionAction: public Action { @@ -15,11 +16,19 @@ class DrawDimensionAction: public Action virtual void MouseDown(Vector); virtual void MouseMoved(Vector); virtual void MouseReleased(void); + virtual void KeyDown(int); + virtual void KeyReleased(int); + + private: +// void HandleAddDimensionToObject(Object *); + void HandleAddDimensionToObject(void); private: int state; Dimension * dimension; Vector p1, p2; + Object * obj; }; #endif // __DRAWDIMENSIONACTION_H__ +