summaryrefslogtreecommitdiffstats
path: root/Project/ConnectionLine.h
diff options
context:
space:
mode:
Diffstat (limited to 'Project/ConnectionLine.h')
-rw-r--r--Project/ConnectionLine.h5
1 files changed, 5 insertions, 0 deletions
diff --git a/Project/ConnectionLine.h b/Project/ConnectionLine.h
index e9d238a..98e3098 100644
--- a/Project/ConnectionLine.h
+++ b/Project/ConnectionLine.h
@@ -29,6 +29,9 @@ class ConnectionLine : public ControlElement
virtual bool SetParentLine(ConnectionLine* parent);
virtual std::vector<ConnectionLine*> GetLineChildList() const;
+
+ virtual double GetValue() const { return m_value; }
+ virtual void SetValue(double value) { m_value = value; }
protected:
double m_lineOffset = 0.0;
@@ -38,6 +41,8 @@ class ConnectionLine : public ControlElement
ConnectionLineType m_type = ELEMENT_ELEMENT;
ConnectionLine* m_parentLine = NULL;
+
+ double m_value;
};
#endif // CONNECTIONLINE_H