]> Shamusworld >> Repos - architektonas/blobdiff - src/base/selection.h
Major refactor of Architektonas: Jettisoning old cruft.
[architektonas] / src / base / selection.h
diff --git a/src/base/selection.h b/src/base/selection.h
deleted file mode 100644 (file)
index cbc426f..0000000
+++ /dev/null
@@ -1,44 +0,0 @@
-#ifndef __SELECTION_H__
-#define __SELECTION_H__
-
-#include "entitycontainer.h"
-
-class Drawing;
-class GraphicView;
-
-/**
- * API Class for selecting entities.
- * There's no interaction handled in this class.
- * This class is connected to an entity container and
- * can be connected to a graphic view.
- *
- * @author Andrew Mustun
- */
-class Selection
-{
-       public:
-               Selection(EntityContainer & entityContainer,
-                       GraphicView * graphicView = NULL);
-
-               void selectSingle(Entity * e);
-               void selectAll(bool select = true);
-               void deselectAll();
-               void invertSelection();
-               void selectWindow(const Vector & v1, const Vector & v2,
-                       bool select = true, bool cross = false);
-               void deselectWindow(const Vector & v1, const Vector & v2);
-               void selectIntersected(const Vector & v1, const Vector & v2,
-                       bool select = true);
-               void deselectIntersected(const Vector & v1, const Vector & v2);
-               void selectContour(Entity * e);
-               void selectLayer(Entity * e);
-               void selectLayer(const QString & layerName, bool select = true);
-               void deselectLayer(QString & layerName);
-
-       protected:
-               EntityContainer * container;
-               Drawing * graphic;
-               GraphicView * graphicView;
-};
-
-#endif