X-Git-Url: http://shamusworld.gotdns.org/cgi-bin/gitweb.cgi?a=blobdiff_plain;f=src%2Fdrawcircleaction.cpp;h=338bd5366b204dd9bb6ce659533d5f849009e4fb;hb=11802354d1ddc5bc571d83d8fc9b600618cb4372;hp=fad31580b283bde7e5f9ed4f906660c44bc8e11b;hpb=043ecf4d074909ba2f7f53237962f9eaa72f19c2;p=architektonas diff --git a/src/drawcircleaction.cpp b/src/drawcircleaction.cpp index fad3158..338bd53 100644 --- a/src/drawcircleaction.cpp +++ b/src/drawcircleaction.cpp @@ -32,14 +32,16 @@ DrawCircleAction::~DrawCircleAction() /*virtual*/ void DrawCircleAction::Draw(Painter * painter) { - // Need to fix pen colors, etc... + painter->SetPen(QPen(Qt::red, 2.0, Qt::DotLine)); + // I think stuff like crosshairs should be done in the DrawingView, tho if (state == FIRST_POINT) { - painter->DrawPoint(p1.x, p1.y); + painter->DrawHandle(p1); } else { + painter->DrawHandle(p1); double radius = Vector::Magnitude(p1, p2); painter->DrawEllipse(p1, radius, radius); }