📄 hsanimationmemdc.cpp
字号:
// HSAnimationMemDC.cpp: implementation of the CHSAnimationMemDC class.
//
//////////////////////////////////////////////////////////////////////
#include "stdafx.h"
#include "CHSMenu.h"
#include "HSGraphics.h"
#include "HSAnimationMemDC.h"
#ifdef _DEBUG
#undef THIS_FILE
static char THIS_FILE[]=__FILE__;
#define new DEBUG_NEW
#endif
//////////////////////////////////////////////////////////////////////
// Construction/Destruction
//////////////////////////////////////////////////////////////////////
CHSAnimationMemDC::CHSAnimationMemDC( CDC *pDC, CRect *prect ) : CHSMemDC( pDC, prect )
{
}
CHSAnimationMemDC::CHSAnimationMemDC( HDC hDC, RECT *prect ) : CHSMemDC( hDC, prect )
{
}
CHSAnimationMemDC::~CHSAnimationMemDC()
{
}
void CHSAnimationMemDC::Animation( int nType, int nStep, int nTimeDelay )
{
DrawAnimation( &m_rect, m_pDC->GetSafeHdc(), this->GetSafeHdc(), nType, nStep, nTimeDelay );
}
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -