cursor.h

来自「在ecos 下mingui 的移植开发」· C头文件 代码 · 共 55 行

H
55 行
字号
//// $Id: cursor.h,v 1.2 2000/06/19 01:54:15 weiym Exp $//// cursor.h: the head file of Cursor Support Lib.//// Copyright (c) 1999, Mr. Wei Yongming.//// Create date: 1999.01.06#ifndef GUI_CURSOR_H    #define GUI_CURSOR_H/* Struct definitions */typedef struct _CURSORDIRENTRY {    BYTE bWidth;    BYTE bHeight;    BYTE bColorCount;    BYTE bReserved;    WORD wXhotspot;    WORD wYhotspot;    DWORD lBytesInRes;    DWORD dwImageOffset;}CURSORDIRENTRY;typedef struct _CURSORDIR {    WORD cdReserved;    WORD cdType;	// must be 2.    WORD cdCount;}CURSORDIR;typedef struct _CURSOR {    int xhotspot;    int yhotspot;    int width;    int height;    void* AndBits;    void* XorBits;}CURSOR;typedef CURSOR* PCURSOR;/* Function definitions */#ifdef __cplusplusextern "C" {#endif  /* __cplusplus */// Initialization and termination.BOOL InitCursor(void);BOOL TerminateCursor(void);#ifdef __cplusplus}#endif  /* __cplusplus */#endif // GUI_CURSOR_H

⌨️ 快捷键说明

复制代码Ctrl + C
搜索代码Ctrl + F
全屏模式F11
增大字号Ctrl + =
减小字号Ctrl + -
显示快捷键?