summaryrefslogtreecommitdiffstats
path: root/Project/Workspace.h
diff options
context:
space:
mode:
authorThales1330 <thaleslima.ufu@gmail.com>2017-01-02 19:31:11 -0200
committerThales1330 <thaleslima.ufu@gmail.com>2017-01-02 19:31:11 -0200
commit2c0b51586b3b2243ae0fdcd653139818e4b4e23e (patch)
tree89c1435aac9213230f04b06d4183c94f6ea36663 /Project/Workspace.h
parent7aed88dbcf9d37a1f40c8cad115f055c4d69e7a9 (diff)
downloadPSP.git-2c0b51586b3b2243ae0fdcd653139818e4b4e23e.tar.gz
PSP.git-2c0b51586b3b2243ae0fdcd653139818e4b4e23e.tar.xz
PSP.git-2c0b51586b3b2243ae0fdcd653139818e4b4e23e.zip
Fast data visualization implemented
Diffstat (limited to 'Project/Workspace.h')
-rw-r--r--Project/Workspace.h6
1 files changed, 4 insertions, 2 deletions
diff --git a/Project/Workspace.h b/Project/Workspace.h
index fe2a25f..e900604 100644
--- a/Project/Workspace.h
+++ b/Project/Workspace.h
@@ -7,6 +7,7 @@
#include <wx/msgdlg.h>
#include <wx/statusbr.h>
#include <wx/clipbrd.h>
+#include <wx/tipwin.h>
#include "WorkspaceBase.h"
#include "Bus.h"
@@ -101,6 +102,7 @@ public:
bool RunPowerFlow();
protected:
+ virtual void OnTimer(wxTimerEvent& event);
virtual void OnLeftDoubleClick(wxMouseEvent& event);
virtual void OnRightClickDown(wxMouseEvent& event);
virtual void OnLeftClickUp(wxMouseEvent& event);
@@ -119,6 +121,7 @@ protected:
wxGLContext* m_glContext;
wxStatusBar* m_statusBar;
Camera* m_camera;
+ wxTipWindow* m_tipWindow = NULL;
wxString m_name;
WorkspaceMode m_mode = MODE_EDIT;
@@ -129,8 +132,7 @@ protected:
std::vector<Text*> m_textList;
wxFileName m_savedPath;
-
-private:
+
wxRect2DDouble m_selectionRect;
wxPoint2DDouble m_startSelRect;
};