summaryrefslogtreecommitdiffstats
path: root/Project/ControlEditor.h
diff options
context:
space:
mode:
authorThales1330 <thaleslima.ufu@gmail.com>2017-03-06 18:59:37 -0300
committerThales1330 <thaleslima.ufu@gmail.com>2017-03-06 18:59:37 -0300
commitb3be8e8ef6338bce2106d9c161bf3c7f7f7f9244 (patch)
tree4fc4811494822647c7a9af397d372af8629ac924 /Project/ControlEditor.h
parentd11da00a993f1eeae6a1be50839ac72740e4e27b (diff)
downloadPSP.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/ControlEditor.h')
-rw-r--r--Project/ControlEditor.h7
1 files changed, 5 insertions, 2 deletions
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 <GL/glu.h>
class Camera;
+class Element;
class ControlElement;
class TransferFunction;
class ConnectionLine;
@@ -83,6 +84,8 @@ protected:
void BuildControlElementPanel();
void SetViewport();
+ std::vector<ConnectionLine*>::iterator DeleteLineFromList(std::vector<ConnectionLine*>::iterator& it);
+
wxGLContext* m_glContext = NULL;
Camera* m_camera = NULL;
@@ -90,10 +93,10 @@ protected:
wxRect2DDouble m_selectionRect;
wxPoint2DDouble m_startSelRect;
-
+
std::vector<ControlElement*> m_elementList;
std::vector<ConnectionLine*> m_connectionList;
-
+
bool m_firstDraw = true;
};
#endif // CONTROLEDITOR_H