From b3be8e8ef6338bce2106d9c161bf3c7f7f7f9244 Mon Sep 17 00:00:00 2001 From: Thales1330 Date: Mon, 6 Mar 2017 18:59:37 -0300 Subject: Connection line fully implemented Bug on delete a chid line and update points --- Project/ControlEditor.h | 7 +++++-- 1 file changed, 5 insertions(+), 2 deletions(-) (limited to 'Project/ControlEditor.h') diff --git a/Project/ControlEditor.h b/Project/ControlEditor.h index 73c2c62..8d499fc 100644 --- a/Project/ControlEditor.h +++ b/Project/ControlEditor.h @@ -10,6 +10,7 @@ #include class Camera; +class Element; class ControlElement; class TransferFunction; class ConnectionLine; @@ -83,6 +84,8 @@ protected: void BuildControlElementPanel(); void SetViewport(); + std::vector::iterator DeleteLineFromList(std::vector::iterator& it); + wxGLContext* m_glContext = NULL; Camera* m_camera = NULL; @@ -90,10 +93,10 @@ protected: wxRect2DDouble m_selectionRect; wxPoint2DDouble m_startSelRect; - + std::vector m_elementList; std::vector m_connectionList; - + bool m_firstDraw = true; }; #endif // CONTROLEDITOR_H -- cgit