aboutsummaryrefslogtreecommitdiffstats
path: root/softwarecontext/rectanglenode.h
diff options
context:
space:
mode:
authorSimon Hausmann <simon.hausmann@digia.com>2014-08-12 12:10:24 +0200
committerLars Knoll <lars.knoll@digia.com>2014-08-12 18:02:47 +0300
commite932276d0f81f0464b282b28397b236f04d87f68 (patch)
tree558947ec05839600720b40a062a08bbc0ffc0176 /softwarecontext/rectanglenode.h
parent9e0d6f6da520d2f9e935570c942b2ee4166bbfc3 (diff)
Revert "Add a simple rectangle node"
This reverts commit 7d516abb39081c7ce58bb78a644f5bb5ff88f98a. Gunnar preferred routing the text cursor rectangles through the regular QSGRectangleNode. Change-Id: I40dc44451a10c9ccfe436974c21995a2b3bf86c2 Reviewed-by: Lars Knoll <lars.knoll@digia.com>
Diffstat (limited to 'softwarecontext/rectanglenode.h')
-rw-r--r--softwarecontext/rectanglenode.h18
1 files changed, 0 insertions, 18 deletions
diff --git a/softwarecontext/rectanglenode.h b/softwarecontext/rectanglenode.h
index dff5b3590c..bdf0705b1c 100644
--- a/softwarecontext/rectanglenode.h
+++ b/softwarecontext/rectanglenode.h
@@ -25,24 +25,6 @@
#include <QPen>
#include <QBrush>
-class SimpleRectangleNode : public QSGSimpleRectangleNode
-{
-public:
- SimpleRectangleNode(const QRectF &rect, const QColor &color);
-
- virtual void setRect(const QRectF &rect);
- virtual void setColor(const QColor &color);
-
- virtual void update();
-
- void paint(QPainter *);
-
-private:
- QRectF m_rect;
- QColor m_color;
-};
-
-
class RectangleNode : public QSGRectangleNode
{
public: