diff options
author | Thales1330 <thaleslima.ufu@gmail.com> | 2016-08-05 17:30:57 -0300 |
---|---|---|
committer | Thales1330 <thaleslima.ufu@gmail.com> | 2016-08-05 17:30:57 -0300 |
commit | 0899cd2aea1fe2e71184bd9c6a86f3bd988304e5 (patch) | |
tree | 3b1900b8dbd9cec7c2920c147103a35a3b59f2a9 /Project/Workspace.h | |
parent | 46c9d3fe586fb5c8ac75384b62a79971f96a5b88 (diff) | |
download | PSP.git-0899cd2aea1fe2e71184bd9c6a86f3bd988304e5.tar.gz PSP.git-0899cd2aea1fe2e71184bd9c6a86f3bd988304e5.tar.xz PSP.git-0899cd2aea1fe2e71184bd9c6a86f3bd988304e5.zip |
Selection retangle implemented
Some selections problems
Diffstat (limited to 'Project/Workspace.h')
-rw-r--r-- | Project/Workspace.h | 7 |
1 files changed, 6 insertions, 1 deletions
diff --git a/Project/Workspace.h b/Project/Workspace.h index a7eca1b..2e47f3b 100644 --- a/Project/Workspace.h +++ b/Project/Workspace.h @@ -18,7 +18,8 @@ enum WorkspaceMode MODE_MOVE_ELEMENT, MODE_MOVE_PICKBOX, MODE_DRAG, - MODE_INSERT + MODE_INSERT, + MODE_SELECTION_RECT }; class Workspace : public WorkspaceBase @@ -54,6 +55,10 @@ class Workspace : public WorkspaceBase std::vector<Element*> m_elementList; void UpdateStatusBar(); + + private: + wxRect2DDouble m_selectionRect; + wxPoint2DDouble m_startSelRect; }; class Camera |