X-Git-Url: http://shamusworld.gotdns.org/cgi-bin/gitweb.cgi?a=blobdiff_plain;f=src%2Fdrawarcaction.cpp;h=290f8dd56c30221e511c5517245e55147ba9eea4;hb=4d6ba8a6eb781dbee818b6a55d21df7b52468936;hp=e416d3d07c42adab8f8ae0239b4be7f1a1e0934e;hpb=64482766268cddae393da1277987de31e69ffdd9;p=architektonas diff --git a/src/drawarcaction.cpp b/src/drawarcaction.cpp index e416d3d..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) { @@ -124,14 +124,12 @@ DrawArcAction::~DrawArcAction() } -/*virtual*/ bool DrawArcAction::KeyDown(int /*key*/) +/*virtual*/ void DrawArcAction::KeyDown(int /*key*/) { - return false; } -/*virtual*/ bool DrawArcAction::KeyReleased(int /*key*/) +/*virtual*/ void DrawArcAction::KeyReleased(int /*key*/) { - return false; }