summaryrefslogtreecommitdiffstats
path: root/Project/ConnectionLine.h
diff options
context:
space:
mode:
Diffstat (limited to 'Project/ConnectionLine.h')
-rw-r--r--Project/ConnectionLine.h3
1 files changed, 2 insertions, 1 deletions
diff --git a/Project/ConnectionLine.h b/Project/ConnectionLine.h
index cd52801..0642995 100644
--- a/Project/ConnectionLine.h
+++ b/Project/ConnectionLine.h
@@ -36,6 +36,7 @@ class ConnectionLine : public ControlElement
~ConnectionLine();
virtual void Draw(wxPoint2DDouble translation, double scale) const;
+ virtual void DrawDC(wxPoint2DDouble translation, double scale, wxGraphicsContext* gc) const;
virtual bool Contains(wxPoint2DDouble position) const;
virtual bool Intersects(wxRect2DDouble rect) const;
virtual void RemoveParent(Element* parent);
@@ -66,7 +67,7 @@ class ConnectionLine : public ControlElement
wxPoint2DDouble m_tmpSndPt;
ConnectionLineType m_type = ConnectionLineType::ELEMENT_ELEMENT;
- ConnectionLine* m_parentLine = NULL;
+ ConnectionLine* m_parentLine = nullptr;
double m_value;
};