📄 raster1.h
字号:
///////////////////////////////////////////////////////////////////
// Header : RASTER1.CPP
//
// Purpose : Header for the RASTER1 application.
//
// Author : Rob McGregor, rob_mcgregor@compuserve.com
//
// Date : 06-01-96
///////////////////////////////////////////////////////////////////
#include "stdafx.h"
#include "colors.h"
// Derive an application class
class CMyApp : public CWinApp
{
public:
virtual BOOL InitInstance();
};
// Derive a frame window class
class CMainWnd : public CFrameWnd
{
protected:
int m_nTextHeight;
CRect m_rcRop[18];
CFont m_fntTitle;
public:
CMainWnd();
~CMainWnd();
void DisplayLabel(CPaintDC& dc, int nWhich,
COLORREF cr = crBlack);
void DoRasterOps(CPaintDC& dc);
void CombineRops(CPaintDC& dc, int nIndex, int nWidth,
int nHeight, CDC* pdcMem, DWORD dwRop);
void FillRectArray();
afx_msg int OnCreate(LPCREATESTRUCT lpcs);
afx_msg void OnPaint();
afx_msg void OnSize(UINT nType, int cx, int cy);
DECLARE_MESSAGE_MAP();
};
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -