aboutsummaryrefslogtreecommitdiffstats
path: root/softwarecontext/rectanglenode.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'softwarecontext/rectanglenode.cpp')
-rw-r--r--softwarecontext/rectanglenode.cpp28
1 files changed, 0 insertions, 28 deletions
diff --git a/softwarecontext/rectanglenode.cpp b/softwarecontext/rectanglenode.cpp
index 38e242e8bf..a27d3bf93e 100644
--- a/softwarecontext/rectanglenode.cpp
+++ b/softwarecontext/rectanglenode.cpp
@@ -19,34 +19,6 @@
****************************************************************************/
#include "rectanglenode.h"
-SimpleRectangleNode::SimpleRectangleNode(const QRectF &rect, const QColor &color)
- : m_rect(rect)
- , m_color(color)
-{
- setMaterial((QSGMaterial*)1);
- setGeometry((QSGGeometry*)1);
-}
-
-void SimpleRectangleNode::setRect(const QRectF &rect)
-{
- m_rect = rect;
-}
-
-void SimpleRectangleNode::setColor(const QColor &color)
-{
- m_color = color;
-}
-
-void SimpleRectangleNode::update()
-{
-}
-
-void SimpleRectangleNode::paint(QPainter *p)
-{
- p->fillRect(m_rect, m_color);
-}
-
-
RectangleNode::RectangleNode()
: m_penWidth(0)
, m_radius(0)