#define RS_PREVIEWACTIONINTERFACE_H
#include "rs_actioninterface.h"
+#include "vector.h"
class RS_Preview;
{
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);
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;
};