X-Git-Url: http://shamusworld.gotdns.org/cgi-bin/gitweb.cgi?a=blobdiff_plain;ds=sidebyside;f=src%2Fdrawdimensionaction.cpp;h=e51f88d394e39f72c23fc4da2af4b58704ef7677;hb=669a05b5a52bd759f0ea08772e0ed17222b015a0;hp=2414afa107285fd8e5b2238a07c80f42dfaed7e3;hpb=1a13a1484af21f55d5be4847d0b158a43f9c36d2;p=architektonas diff --git a/src/drawdimensionaction.cpp b/src/drawdimensionaction.cpp index 2414afa..e51f88d 100644 --- a/src/drawdimensionaction.cpp +++ b/src/drawdimensionaction.cpp @@ -78,10 +78,24 @@ DrawDimensionAction::~DrawDimensionAction() // We create the new object here, and then pass it off to the // DrawingView which stuffs it into the document. // line = new Line(p1, p2); + dimension = new Dimension(p1, p2); // We don't need no stinkin' sentinels, when we have signals & slots! emit ObjectReady(dimension); - p1 = p2; + state = FIRST_POINT; +// p1 = p2; } } + +/*virtual*/ bool DrawDimensionAction::KeyDown(int /*key*/) +{ + return false; +} + + +/*virtual*/ bool DrawDimensionAction::KeyReleased(int /*key*/) +{ + return false; +} +