diff options
author | Thales1330 <thaleslima.ufu@gmail.com> | 2017-01-27 19:57:18 -0200 |
---|---|---|
committer | Thales1330 <thaleslima.ufu@gmail.com> | 2017-01-27 19:57:18 -0200 |
commit | 10bb7105946bc0a892a9daf42ec5181ad9994fcf (patch) | |
tree | 5b27234c7b0c9ababde2a1dcca2d95c5149770cc /Project/ControlEditor.h | |
parent | 15df77aa461ecea7344cce5e736ebee9fb943a9b (diff) | |
download | PSP.git-10bb7105946bc0a892a9daf42ec5181ad9994fcf.tar.gz PSP.git-10bb7105946bc0a892a9daf42ec5181ad9994fcf.tar.xz PSP.git-10bb7105946bc0a892a9daf42ec5181ad9994fcf.zip |
several control elements methods implemented
Node position buggy
Diffstat (limited to 'Project/ControlEditor.h')
-rw-r--r-- | Project/ControlEditor.h | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/Project/ControlEditor.h b/Project/ControlEditor.h index 0652e1d..92e1966 100644 --- a/Project/ControlEditor.h +++ b/Project/ControlEditor.h @@ -63,6 +63,7 @@ public: virtual void Redraw() { m_glCanvas->Refresh(); } protected: + virtual void OnIdle(wxIdleEvent& event); virtual void OnScroll(wxMouseEvent& event); virtual void OnDoubleClick(wxMouseEvent& event); virtual void OnLeftClickDown(wxMouseEvent& event); @@ -85,5 +86,7 @@ protected: wxPoint2DDouble m_startSelRect; std::vector<ControlElement*> m_elementList; + + bool m_firstDraw = true; }; #endif // CONTROLEDITOR_H |