]> Shamusworld >> Repos - architektonas/blobdiff - src/base/rs_previewactioninterface.h
Last checkin before major refactor...
[architektonas] / src / base / rs_previewactioninterface.h
index 61424a8037653e3f17625cae8238997894441590..a8f678042f962b0d71ca7adc73a4318a5776fb4d 100644 (file)
@@ -2,6 +2,7 @@
 #define RS_PREVIEWACTIONINTERFACE_H
 
 #include "rs_actioninterface.h"
+#include "vector.h"
 
 class RS_Preview;
 
@@ -15,7 +16,7 @@ class RS_PreviewActionInterface: public RS_ActionInterface
 {
        public:
                RS_PreviewActionInterface(const char * name,
-                       RS_EntityContainer & container, RS_GraphicView & graphicView);
+                       RS_EntityContainer & container, GraphicView & graphicView);
                virtual ~RS_PreviewActionInterface();
 
                virtual void init(int status = 0);
@@ -27,21 +28,22 @@ class RS_PreviewActionInterface: public RS_ActionInterface
                void drawPreview();
                void deletePreview();
 
-       private:
+//     private:
+       protected:
                void xorPreview();
 
        protected:
                /**
-               * Preview that holds the entities to be previewed.
-               */
+                * Preview that holds the entities to be previewed.
+                */
                RS_Preview * preview;
                /**
-               * Keeps track of the drawings in XOR mode.
-               */
+                * Keeps track of the drawings in XOR mode.
+                */
                bool visible;
                /**
-               * Current offset of the preview.
-               */
+                * Current offset of the preview.
+                */
                Vector offset;
 };