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