diff options
| author | Thales Lima Oliveira <thaleslima.ufu@gmail.com> | 2020-07-07 23:12:04 -0300 |
|---|---|---|
| committer | Thales Lima Oliveira <thaleslima.ufu@gmail.com> | 2020-07-07 23:12:04 -0300 |
| commit | ab30228b1a57053323363674fa7f137c0329a180 (patch) | |
| tree | 50849a3680d61a2428665cc1035f1f4215870acb /Project/WorkspaceBase.h | |
| parent | 6c0e98a2727d07e1fbb38b78c27d68e98ad09465 (diff) | |
| download | PSP.git-ab30228b1a57053323363674fa7f137c0329a180.tar.gz PSP.git-ab30228b1a57053323363674fa7f137c0329a180.tar.xz PSP.git-ab30228b1a57053323363674fa7f137c0329a180.zip | |
Voltage heat map implemented
Voltage heat map implemented using modern OpenGL =)
New external library required:
-GLEW
-GLFW
-GLM (incorporeted at the source)
Old memory leaks fixed =)
Diffstat (limited to 'Project/WorkspaceBase.h')
| -rw-r--r-- | Project/WorkspaceBase.h | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/Project/WorkspaceBase.h b/Project/WorkspaceBase.h index 2ceed20..025f814 100644 --- a/Project/WorkspaceBase.h +++ b/Project/WorkspaceBase.h @@ -37,6 +37,7 @@ class WorkspaceBase : public wxPanel protected: wxGLCanvas* m_glCanvas; wxTimer* m_timer; + wxTimer* m_timerHeatMap; protected: virtual void OnPaint(wxPaintEvent& event) { event.Skip(); } @@ -51,11 +52,14 @@ protected: virtual void OnLeftDoubleClick(wxMouseEvent& event) { event.Skip(); } virtual void OnIdle(wxIdleEvent& event) { event.Skip(); } virtual void OnMiddleDoubleClick(wxMouseEvent& event) { event.Skip(); } + virtual void OnResize(wxSizeEvent& event) { event.Skip(); } virtual void OnTimer(wxTimerEvent& event) { event.Skip(); } + virtual void OnHeatMapTime(wxTimerEvent& event) { event.Skip(); } public: wxGLCanvas* GetGlCanvas() { return m_glCanvas; } wxTimer* GetTimer() { return m_timer; } + wxTimer* GetTimerHeatMap() { return m_timerHeatMap; } WorkspaceBase(wxWindow* parent, wxWindowID id = wxID_ANY, const wxPoint& pos = wxDefaultPosition, const wxSize& size = wxSize(500,300), long style = wxTAB_TRAVERSAL); virtual ~WorkspaceBase(); }; |
