summaryrefslogtreecommitdiffstats
path: root/Project/Workspace.h
diff options
context:
space:
mode:
authorThales1330 <thaleslima.ufu@gmail.com>2017-01-18 14:11:20 -0200
committerThales1330 <thaleslima.ufu@gmail.com>2017-01-18 14:11:20 -0200
commit44a7475053ea042bfca9cd31998ddb5b16910688 (patch)
tree2e65d9cb4ec58c707bd3788f0483b0077fab5e56 /Project/Workspace.h
parent3e44c208f67b87f17e086bb1361f4422fb6ac5ce (diff)
downloadPSP.git-44a7475053ea042bfca9cd31998ddb5b16910688.tar.gz
PSP.git-44a7475053ea042bfca9cd31998ddb5b16910688.tar.xz
PSP.git-44a7475053ea042bfca9cd31998ddb5b16910688.zip
Power elements methods migrated to correct class
Diffstat (limited to 'Project/Workspace.h')
-rw-r--r--Project/Workspace.h4
1 files changed, 2 insertions, 2 deletions
diff --git a/Project/Workspace.h b/Project/Workspace.h
index f138410..2efdbad 100644
--- a/Project/Workspace.h
+++ b/Project/Workspace.h
@@ -68,7 +68,7 @@ public:
~Workspace();
wxString GetName() const { return m_name; }
- std::vector<Element*> GetElementList() const { return m_elementList; }
+ std::vector<Element*> GetElementList() const;
std::vector<Text*> GetTextList() const { return m_textList; }
std::vector<Element*> GetAllElements() const;
WorkspaceMode GetWorkspaceMode() const { return m_mode; }
@@ -132,7 +132,7 @@ protected:
WorkspaceMode m_mode = MODE_EDIT;
- std::vector<Element*> m_elementList;
+ std::vector<PowerElement*> m_elementList;
int m_elementNumber[NUM_ELEMENTS];
std::vector<Text*> m_textList;