From c46db36fe1c319a76cb6bd089b25952db0d98e11 Mon Sep 17 00:00:00 2001 From: Kelly Rauchenberger Date: Mon, 16 Mar 2015 10:30:31 -0400 Subject: Added ability to edit and remove entities to map editor --- tools/mapedit/src/frame.cpp | 7 +++++++ 1 file changed, 7 insertions(+) (limited to 'tools/mapedit/src/frame.cpp') 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&) mapEditor->CancelAddingEntity(); } +void MapeditFrame::StartAddingEntity() +{ + addingEntity = true; + addEntityButton->Disable(); + cancelEntityButton->Enable(); +} + void MapeditFrame::FinishAddingEntity() { addingEntity = false; -- cgit 1.4.1