]> Shamusworld >> Repos - architektonas/blobdiff - src/mirroraction.cpp
Readded click to add dimension to object (for Line).
[architektonas] / src / mirroraction.cpp
index 6bc5b59f207c844f9ea5709a1e8af5670aee9bd9..877017355cdb7c2f46af067edc7a3917700157cd 100644 (file)
 #include "line.h"
 #include "mathconstants.h"
 #include "painter.h"
-//#include "vector.h"
 
 
-//#define FIRST_POINT 0
-//#define NEXT_POINT 1
 enum { FIRST_POINT, NEXT_POINT };
 
 
@@ -44,8 +41,6 @@ MirrorAction::~MirrorAction()
 {
        painter->SetPen(QPen(Qt::red, 2.0, Qt::DotLine));
 
-       // I think stuff like crosshairs should be done in the DrawingView, tho
-       // (and it's done there now...)
        if (state == FIRST_POINT)
        {
                painter->DrawHandle(p1);
@@ -124,7 +119,6 @@ MirrorAction::~MirrorAction()
                else
                {
                        mirror->CopyContentsTo(&(ApplicationWindow::drawing->document));
-//                     mirror->CopyContentsTo(&(DrawingView.document));
                }
        }
 }