This commit is contained in:
parent
803f94e415
commit
ec9c8c2ab5
10 changed files with 79 additions and 43 deletions
|
@ -25,8 +25,6 @@ BEGIN_MESSAGE_MAP(CMapEditDoc, CDocument)
|
|||
ON_COMMAND(ID_EXPORT_PSX, OnExportPsx)
|
||||
ON_COMMAND(ID_ZOOM_IN, OnZoomIn)
|
||||
ON_COMMAND(ID_ZOOM_OUT, OnZoomOut)
|
||||
ON_COMMAND(ID_EDIT_COPY, OnEditCopy)
|
||||
ON_COMMAND(ID_EDIT_PASTE, OnEditPaste)
|
||||
//}}AFX_MSG_MAP
|
||||
END_MESSAGE_MAP()
|
||||
|
||||
|
@ -194,6 +192,20 @@ void CMapEditDoc::MirrorY(CMapEditView *View)
|
|||
FocusView();
|
||||
}
|
||||
|
||||
/*********************************************************************************/
|
||||
void CMapEditDoc::CopySelection(CMapEditView *View)
|
||||
{
|
||||
Core.CopySelection(View);
|
||||
FocusView();
|
||||
}
|
||||
|
||||
/*********************************************************************************/
|
||||
void CMapEditDoc::PasteSelection(CMapEditView *View)
|
||||
{
|
||||
Core.PasteSelection(View);
|
||||
FocusView();
|
||||
}
|
||||
|
||||
/*********************************************************************************/
|
||||
void CMapEditDoc::SetMode(int NewMode)
|
||||
{
|
||||
|
@ -331,14 +343,3 @@ void CMapEditDoc::FocusView()
|
|||
}
|
||||
|
||||
|
||||
/*********************************************************************************/
|
||||
void CMapEditDoc::OnEditCopy()
|
||||
{
|
||||
Core.CopySelection();
|
||||
}
|
||||
|
||||
/*********************************************************************************/
|
||||
void CMapEditDoc::OnEditPaste()
|
||||
{
|
||||
Core.PasteSelection();
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue