diff options
author | Kelly Rauchenberger <fefferburbia@gmail.com> | 2015-03-16 10:30:31 -0400 |
---|---|---|
committer | Kelly Rauchenberger <fefferburbia@gmail.com> | 2015-03-16 10:30:31 -0400 |
commit | c46db36fe1c319a76cb6bd089b25952db0d98e11 (patch) | |
tree | a4ede892db1dc292a221ff33f991e1b92028a9b4 /tools/mapedit/src/frame.cpp | |
parent | 54eee8e0a79898825b39749b38134f4369ccd3ab (diff) | |
download | therapy-c46db36fe1c319a76cb6bd089b25952db0d98e11.tar.gz therapy-c46db36fe1c319a76cb6bd089b25952db0d98e11.tar.bz2 therapy-c46db36fe1c319a76cb6bd089b25952db0d98e11.zip |
Added ability to edit and remove entities to map editor
Diffstat (limited to 'tools/mapedit/src/frame.cpp')
-rw-r--r-- | tools/mapedit/src/frame.cpp | 7 |
1 files changed, 7 insertions, 0 deletions
diff --git a/tools/mapedit/src/frame.cpp b/tools/mapedit/src/frame.cpp index 6119ad3..0b03448 100644 --- a/tools/mapedit/src/frame.cpp +++ b/tools/mapedit/src/frame.cpp | |||
@@ -301,6 +301,13 @@ void MapeditFrame::OnCancelAddEntity(wxCommandEvent&) | |||
301 | mapEditor->CancelAddingEntity(); | 301 | mapEditor->CancelAddingEntity(); |
302 | } | 302 | } |
303 | 303 | ||
304 | void MapeditFrame::StartAddingEntity() | ||
305 | { | ||
306 | addingEntity = true; | ||
307 | addEntityButton->Disable(); | ||
308 | cancelEntityButton->Enable(); | ||
309 | } | ||
310 | |||
304 | void MapeditFrame::FinishAddingEntity() | 311 | void MapeditFrame::FinishAddingEntity() |
305 | { | 312 | { |
306 | addingEntity = false; | 313 | addingEntity = false; |