]> Shamusworld >> Repos - architektonas/blobdiff - src/drawarcaction.cpp
Added ability to manipulate Arcs.
[architektonas] / src / drawarcaction.cpp
index 624e4ee74a04a23f0e4b682d892f22eeef4e52e1..290f8dd56c30221e511c5517245e55147ba9eea4 100644 (file)
@@ -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*/)
+{
+}
+