]> Shamusworld >> Repos - architektonas/blobdiff - src/forms/coordinatewidget.h
Refactored CAD tool bars to use predefined actions.
[architektonas] / src / forms / coordinatewidget.h
index ee228a590809782057edfd14423e6cf82418088c..1dfee98752b33a5ff60d6f0b55876a74fb40eb0a 100644 (file)
@@ -4,7 +4,7 @@
 #include "ui_coordinatewidget.h"
 #include "rs.h"
 
-class RS_Graphic;
+class Drawing;
 class Vector;
 
 class CoordinateWidget: public QWidget
@@ -16,12 +16,12 @@ class CoordinateWidget: public QWidget
                ~CoordinateWidget();
 
        public slots:
-               void setGraphic(RS_Graphic * graphic);
+               void setGraphic(Drawing * graphic);
                void setCoordinates(const Vector & abs, const Vector & rel, bool updateFormat);
                void setCoordinates(double x, double y, double rx, double ry, bool updateFormat);
 
        private:
-               RS_Graphic * graphic;
+               Drawing * graphic;
                int prec;
                RS2::LinearFormat format;
                int aprec;