📄 icon.h
字号:
/*** $Id: icon.h,v 1.5 2003/08/12 07:46:18 weiym Exp $**** icon.h: the head file of Icon Support Lib.**** Copyright (c) 2003 Feynman Software.** Copyright (c) 1999 ~ 2002 Wei Yongming.**** Create date: 1999/01/06*/#ifndef GUI_ICON_H #define GUI_ICON_H/* Struct definitions */typedef struct _ICONDIRENTRY { BYTE bWidth; BYTE bHeight; BYTE bColorCount; BYTE bReserved; WORD wPlanes; WORD wBitCount; DWORD dwBytesInRes; DWORD dwImageOffset;}ICONDIRENTRY;#define SIZEOF_ICONDIRENTRY 16typedef struct _ICONDIR { WORD cdReserved; WORD cdType; // must be 1. WORD cdCount;}ICONDIR;#ifdef _USE_NEWGALtypedef struct _ICON { Uint32 width; Uint32 height; Uint32 pitch; BYTE* AndBits; BYTE* XorBits;}ICON;#elsetypedef struct _ICON { int width; int height; void* AndBits; void* XorBits;}ICON;#endif /* _USE_NEWGAL */typedef ICON* PICON;/* Function definitions */#ifdef __cplusplusextern "C" {#endif /* __cplusplus *//* Initialization and termination. */#ifdef __cplusplus}#endif /* __cplusplus */#endif // GUI_ICON_H
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -