forked from metin2/client
1
0
Fork 0
client/SoundArranger/MainFrmControl.cpp

48 lines
647 B
C++

#include "StdAfx.h"
#include "MainFrm.h"
void CMainFrame::OnToolbarReverse()
{
ms_fLocalTime = 0.001f;
ms_dwLocalFrame = 0;
}
void CMainFrame::OnToolbarPlay()
{
PlayMotion();
}
void CMainFrame::OnToolbarPlayloop()
{
PlayMotion(TRUE);
}
void CMainFrame::OnToolbarStop()
{
OnToolbarReverse();
ms_PlayFlag = false;
}
void CMainFrame::OnToolbarPause()
{
ms_PlayFlag = !ms_PlayFlag;
}
void CMainFrame::OnKeyboardPlay()
{
OnToolbarPlay();
}
//void CMainFrame::OnUpdateWorkLoop(CCmdUI *pCmdUI)
//{
// if (ms_LoopFlag)
// pCmdUI->SetCheck(1);
// else
// pCmdUI->SetCheck(0);
//}
void CMainFrame::OnCancelSound()
{
SetSoundIndex(0);
}