📄 patternview.h
字号:
//
// 僷僞乕儞價儏乕僋儔僗
//
#ifndef __CPATTERNVIEW_INCLUDED__
#define __CPATTERNVIEW_INCLUDED__
#define WIN32_LEAN_AND_MEAN
#include <windows.h>
#include <string>
using namespace std;
#include "Wnd.h"
class CPatternView : public CWnd
{
public:
// Constructor/Destructor
CPatternView();
~CPatternView();
// Override from CWnd
BOOL Create( HWND hWndParent );
void Destroy();
protected:
// Message map
WND_MESSAGE_MAP()
WNDMSG OnCreate( WNDMSGPARAM );
WNDMSG OnClose( WNDMSGPARAM );
WNDMSG OnDestroy( WNDMSGPARAM );
WNDMSG OnLButtonDown( WNDMSGPARAM );
WNDMSG OnTimer( WNDMSGPARAM );
//
struct BITMAPHDR {
BITMAPINFOHEADER bih;
RGBQUAD rgb[16];
} m_BitmapHdr;
//
INT m_SelectPal;
RGBQUAD m_Palette[256];
LPBYTE m_lpBank[8];
LPBYTE m_lpPattern;
private:
};
#endif // !__CPATTERNVIEW_INCLUDED__
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -