2024年4月10日发(作者:)

/******************************************************

* graphics.h

*

* 在 VC 下模拟 Borland BGI 绘图库,实现简单的绘图

*

* 2009-11-23 by yw80@

* /yangw80

******************************************************/

#pragma once

#ifndef WINVER // Specifies that the minimum

required platform is Windows Vista.

#define WINVER 0x0400 // Change this to the appropriate value to

target other versions of Windows.

#endif

#ifndef _WIN32_WINNT // Specifies that the minimum required

platform is Windows Vista.

#define _WIN32_WINNT 0x0400 // Change this to the appropriate value

to target other versions of Windows.

#endif

#ifndef _WIN32_WINDOWS // Specifies that the minimum required

platform is Windows 98.

#define _WIN32_WINDOWS 0x0410 // Change this to the appropriate value to

target Windows Me or later.

#endif

#if defined(_UNICODE) && (_MSC_VER > 1200)

#pragma comment(lib,"")

#elif !defined(_UNICODE) && (_MSC_VER > 1200)

#pragma comment(lib,"")

#elif defined(_UNICODE)