diff options
author | Thales1330 <thaleslima.ufu@gmail.com> | 2017-03-06 18:59:37 -0300 |
---|---|---|
committer | Thales1330 <thaleslima.ufu@gmail.com> | 2017-03-06 18:59:37 -0300 |
commit | b3be8e8ef6338bce2106d9c161bf3c7f7f7f9244 (patch) | |
tree | 4fc4811494822647c7a9af397d372af8629ac924 /Project/ConnectionLine.h | |
parent | d11da00a993f1eeae6a1be50839ac72740e4e27b (diff) | |
download | PSP.git-b3be8e8ef6338bce2106d9c161bf3c7f7f7f9244.tar.gz PSP.git-b3be8e8ef6338bce2106d9c161bf3c7f7f7f9244.tar.xz PSP.git-b3be8e8ef6338bce2106d9c161bf3c7f7f7f9244.zip |
Connection line fully implemented
Bug on delete a chid line and update points
Diffstat (limited to 'Project/ConnectionLine.h')
-rw-r--r-- | Project/ConnectionLine.h | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/Project/ConnectionLine.h b/Project/ConnectionLine.h index b39fe15..350c5d9 100644 --- a/Project/ConnectionLine.h +++ b/Project/ConnectionLine.h @@ -27,7 +27,9 @@ public: virtual void SetType(ConnectionLineType newType) { m_type = newType; } virtual ConnectionLine* GetParentLine() const { return m_parentLine; } - virtual void SetParentLine(ConnectionLine* parent); + virtual bool SetParentLine(ConnectionLine* parent); + + virtual std::vector<ConnectionLine*> GetLineChildList() const; protected: double m_lineOffset = 0.0; |