display.h
来自「这是个很不错的飞行游戏源码」· C头文件 代码 · 共 21 行
H
21 行
#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 + =
减小字号Ctrl + -
显示快捷键?