📄 bitmap.h
字号:
#ifndef BITMAP_H
#define BITMAP_H
class Bitmap
{
private:
HBITMAP hbmp, hmask;
int w, h;
BOOL bTransMode;
COLORREF TransColor;
void Load(char *fn);
void CreateMask();
public:
Bitmap(char *fn, BOOL transmode, COLORREF transcolor);
~Bitmap();
HBITMAP GetBitmap() {return hbmp;};
int GetWidth() {return w;};
int GetHeight() {return h;};
void Draw(HDC ddc, int dx, int dy, int dw, int dh, int sx, int sy);
};
#endif
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -