summaryrefslogtreecommitdiffstats
path: root/Project/ConnectionLine.h
diff options
context:
space:
mode:
authorThales Lima Oliveira <thaleslima.ufu@gmail.com>2017-04-17 20:25:10 -0300
committerThales Lima Oliveira <thaleslima.ufu@gmail.com>2017-04-17 20:25:10 -0300
commit0ec05e0cb396a9ef153d29f605d4a0bbeb0dc7c1 (patch)
tree35f1727f8eb959cf1c55798f7e6a2ef1d83db897 /Project/ConnectionLine.h
parent52931022eb25080e33f2362c3b0bd4361f0cdb0b (diff)
downloadPSP.git-0ec05e0cb396a9ef153d29f605d4a0bbeb0dc7c1.tar.gz
PSP.git-0ec05e0cb396a9ef153d29f605d4a0bbeb0dc7c1.tar.xz
PSP.git-0ec05e0cb396a9ef153d29f605d4a0bbeb0dc7c1.zip
Connection line import under implementation
Parent line not implemented yet
Diffstat (limited to 'Project/ConnectionLine.h')
-rw-r--r--Project/ConnectionLine.h2
1 files changed, 2 insertions, 0 deletions
diff --git a/Project/ConnectionLine.h b/Project/ConnectionLine.h
index 30e0d6a..e9d238a 100644
--- a/Project/ConnectionLine.h
+++ b/Project/ConnectionLine.h
@@ -7,6 +7,7 @@ class ConnectionLine : public ControlElement
{
public:
enum ConnectionLineType { ELEMENT_ELEMENT = 0, ELEMENT_LINE };
+ ConnectionLine();
ConnectionLine(Node* firstNode, int id);
~ConnectionLine();
@@ -21,6 +22,7 @@ class ConnectionLine : public ControlElement
virtual void SetTemporarySecondPoint(wxPoint2DDouble point) { m_tmpSndPt = point; }
virtual wxPoint2DDouble GetMidPoint() const;
virtual double GetOffset() const { return m_lineOffset; }
+ virtual void SetOffset(double offset) { m_lineOffset = offset; }
virtual ConnectionLineType GetType() const { return m_type; }
virtual void SetType(ConnectionLineType newType) { m_type = newType; }
virtual ConnectionLine* GetParentLine() const { return m_parentLine; }