]> Shamusworld >> Repos - architektonas/blobdiff - src/actions/actionoptionsdrawing.cpp
Initial phase of adding polyline functionality. DOES NOT COMPILE.
[architektonas] / src / actions / actionoptionsdrawing.cpp
index 8869c7ae0454a89e548cc369d8f58cd23782f82b..da298ba2907851a2269bd6851ff0f6366adce8c4 100644 (file)
@@ -3,7 +3,9 @@
 // Part of the Architektonas Project
 // Originally part of QCad Community Edition by Andrew Mustun
 // Extensively rewritten and refactored by James L. Hammons
-// (C) 2010 Underground Software
+// Portions copyright (C) 2001-2003 RibbonSoft
+// Copyright (C) 2010 Underground Software
+// See the README and GPLv2 files for licensing and warranty information
 //
 // JLH = James L. Hammons <jlhamm@acm.org>
 //
 
 #include "actionoptionsdrawing.h"
 
-#include "rs_dialogfactory.h"
+#include "dialogfactory.h"
 #include "graphicview.h"
 
-ActionOptionsDrawing::ActionOptionsDrawing(RS_EntityContainer & container, GraphicView & graphicView):
+ActionOptionsDrawing::ActionOptionsDrawing(EntityContainer & container, GraphicView & graphicView):
        ActionInterface("Drawing Options", container, graphicView)
 {
 }
@@ -41,8 +43,8 @@ void ActionOptionsDrawing::trigger()
 {
        if (graphic)
        {
-               RS_DIALOGFACTORY->requestOptionsDrawingDialog(*graphic);
-               RS_DIALOGFACTORY->updateCoordinateWidget(Vector(0.0, 0.0), Vector(0.0, 0.0), true);
+               DIALOGFACTORY->requestOptionsDrawingDialog(*graphic);
+               DIALOGFACTORY->updateCoordinateWidget(Vector(0.0, 0.0), Vector(0.0, 0.0), true);
                graphicView->updateGrid();
                graphicView->redraw();
        }