📄 z_z.cpp
字号:
// Z_z.cpp: implementation of the Z_z class.
//
//////////////////////////////////////////////////////////////////////
#include "stdafx.h"
#include "aa.h"
#include "Z_z.h"
#ifdef _DEBUG
#undef THIS_FILE
static char THIS_FILE[]=__FILE__;
#define new DEBUG_NEW
#endif
//////////////////////////////////////////////////////////////////////
// Construction/Destruction
//////////////////////////////////////////////////////////////////////
Z_z::Z_z()
{
}
Z_z::~Z_z()
{
}
void Z_z::Draw(CDC *pDC, CDC *pDisplayMemDC)
{
Drawbutton(x,y,pDC, pDisplayMemDC);
Drawbutton(x,y-height,pDC, pDisplayMemDC);
Drawbutton(x-height,y+height,pDC, pDisplayMemDC);
Drawbutton(x-height,y,pDC, pDisplayMemDC);
}
void Z_z::Draw1(CDC *pDC, CDC *pDisplayMemDC)
{
Drawbutton(x,y,pDC, pDisplayMemDC);
Drawbutton(x,y-height,pDC, pDisplayMemDC);
Drawbutton(x-height,y-height,pDC, pDisplayMemDC);
Drawbutton(x+height,y,pDC, pDisplayMemDC);
}
void Z_z::Draw2(CDC *pDC, CDC *pDisplayMemDC)
{
Drawbutton(x,y,pDC, pDisplayMemDC);
Drawbutton(x,y-height,pDC, pDisplayMemDC);
Drawbutton(x-height,y+height,pDC, pDisplayMemDC);
Drawbutton(x-height,y,pDC, pDisplayMemDC);
}
void Z_z::Draw3(CDC *pDC, CDC *pDisplayMemDC)
{
Drawbutton(x,y,pDC, pDisplayMemDC);
Drawbutton(x,y-height,pDC, pDisplayMemDC);
Drawbutton(x-height,y-height,pDC, pDisplayMemDC);
Drawbutton(x+height,y,pDC, pDisplayMemDC);
}
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -