📄 display.h
字号:
#ifndef DISPLAY_H
#define DISPLAY_H
class Display
{
HDC DC, memDC, picDC;
HBITMAP memBmp, picBmp, maskBmp;
class GameWorld *pGameWorld;
class Bitmap *pBitmap;
void SetClientSize(HWND, int, int);
public:
HDC GetOffscreenDC();
Display(GameWorld*);
~Display();
void Clear();
void DrawToOffscreen(int x, int y, int w, int h, int sx, int sy, bool bTransparent);
void DrawAllToScreen();
};
#endif
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -