summaryrefslogtreecommitdiffstats
path: root/Project/ControlElement.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/ControlElement.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/ControlElement.h')
-rw-r--r--Project/ControlElement.h5
1 files changed, 5 insertions, 0 deletions
diff --git a/Project/ControlElement.h b/Project/ControlElement.h
index 880dd98..1cf4e0b 100644
--- a/Project/ControlElement.h
+++ b/Project/ControlElement.h
@@ -36,8 +36,13 @@ public:
bool IsConnected() const { return m_connected; }
void SetConnected(bool connected = true) { m_connected = connected; }
+
+ int GetID() const { return m_id; }
+ void SetID(int id) { m_id = id; }
protected:
+ int m_id = -1;
+
wxRect2DDouble m_rect;
NodeType m_nodeType;