cursor.h

来自「老外的一个开源项目」· C头文件 代码 · 共 58 行

H
58
字号
// Copyright (c) David Vescovi.  All rights reserved.
// Part of Project DrumStix
// Windows Embedded Developers Interest Group (WE-DIG) community project.
// http://www.we-dig.org
// Copyright (c) Microsoft Corporation.  All rights reserved.
//
//
// Use of this source code is subject to the terms of the Microsoft end-user
// license agreement (EULA) under which you licensed this SOFTWARE PRODUCT.
// If you did not accept the terms of the EULA, you are not authorized to use
// this source code. For a copy of the EULA, please see the LICENSE.RTF on your
// install media.
//
/*++
THIS CODE AND INFORMATION IS PROVIDED "AS IS" WITHOUT WARRANTY OF
ANY KIND, EITHER EXPRESSED OR IMPLIED, INCLUDING BUT NOT LIMITED TO
THE IMPLIED WARRANTIES OF MERCHANTABILITY AND/OR FITNESS FOR A
PARTICULAR PURPOSE.

Module Name: cursor.h

Date Created: 9/22/2003 

Abstract: Display cursor-related definitions.

Functions: 

Notes: 

--*/
#ifndef _CURSOR_H_
#define _CURSOR_H_

#define CURSOR_XSIZE			32
#define CURSOR_YSIZE			32
#define CURSOR_BYTES			(CURSOR_XSIZE * CURSOR_YSIZE)

#ifdef DEFINE_CURSOR_GLOBALS
#define CURSOR_GLOBALS /* */
#else
#define CURSOR_GLOBALS extern
#endif

#ifdef __cplusplus
extern "C"{
#endif 
    CURSOR_GLOBALS DWORD    gxHot;
    CURSOR_GLOBALS DWORD    gyHot;
    CURSOR_GLOBALS short    gCursorData[CURSOR_BYTES];
    CURSOR_GLOBALS short    gCursorMask[CURSOR_BYTES];
    CURSOR_GLOBALS unsigned bpp;
#ifdef __cplusplus
}
#endif

#endif // _CURSOR_H_.

⌨️ 快捷键说明

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