diff options
author | Simon Hausmann <simon.hausmann@digia.com> | 2014-08-12 12:10:24 +0200 |
---|---|---|
committer | Lars Knoll <lars.knoll@digia.com> | 2014-08-12 18:02:47 +0300 |
commit | e932276d0f81f0464b282b28397b236f04d87f68 (patch) | |
tree | 558947ec05839600720b40a062a08bbc0ffc0176 /softwarecontext/rectanglenode.h | |
parent | 9e0d6f6da520d2f9e935570c942b2ee4166bbfc3 (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.h | 18 |
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: |