X-Git-Url: http://shamusworld.gotdns.org/cgi-bin/gitweb.cgi?a=blobdiff_plain;f=src%2Fdrawarcaction.cpp;h=290f8dd56c30221e511c5517245e55147ba9eea4;hb=4d6ba8a6eb781dbee818b6a55d21df7b52468936;hp=624e4ee74a04a23f0e4b682d892f22eeef4e52e1;hpb=86caae9cadd6e1877a4e6226533521ef0d1c6389;p=architektonas diff --git a/src/drawarcaction.cpp b/src/drawarcaction.cpp index 624e4ee..290f8dd 100644 --- a/src/drawarcaction.cpp +++ b/src/drawarcaction.cpp @@ -15,7 +15,6 @@ #include "arc.h" #include "mathconstants.h" #include "painter.h" -//#include "vector.h" enum { FIRST_POINT, SECOND_POINT, THIRD_POINT }; @@ -58,6 +57,7 @@ DrawArcAction::~DrawArcAction() /*virtual*/ void DrawArcAction::MouseDown(Vector point) { if (state == FIRST_POINT) + // How to check for hitting an object here? p1 = point; else if (state == SECOND_POINT) { @@ -123,3 +123,13 @@ DrawArcAction::~DrawArcAction() } } + +/*virtual*/ void DrawArcAction::KeyDown(int /*key*/) +{ +} + + +/*virtual*/ void DrawArcAction::KeyReleased(int /*key*/) +{ +} +