Welcome to mirror list, hosted at ThFree Co, Russian Federation.

cygwin.com/git/newlib-cygwin.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorDanny Smith <dannysmith@users.sourceforge.net>2003-04-30 13:28:15 +0400
committerDanny Smith <dannysmith@users.sourceforge.net>2003-04-30 13:28:15 +0400
commit14dbd34e9e25003fd78957c5a1cc53c6e6635766 (patch)
tree0ff2810ada2cb36ce9c2af2925476bd8037bb23e /winsup/w32api/include/wingdi.h
parent078df11cf2e918957ae4a05a18316783b285a4ea (diff)
* include/wingdi.h (DC_PEN, DC_BRUSH): Add defines.
(SetDCPenColor, SetDCBrushColor): Add prototypes. * lib/gdi32.def (SetDCPenColor, SetDCBrushColor): Add stubs.
Diffstat (limited to 'winsup/w32api/include/wingdi.h')
-rw-r--r--winsup/w32api/include/wingdi.h8
1 files changed, 8 insertions, 0 deletions
diff --git a/winsup/w32api/include/wingdi.h b/winsup/w32api/include/wingdi.h
index 287e9f3d1..5c57f7fd3 100644
--- a/winsup/w32api/include/wingdi.h
+++ b/winsup/w32api/include/wingdi.h
@@ -796,6 +796,10 @@ extern "C" {
#define SYSTEM_FONT 13
#define SYSTEM_FIXED_FONT 16
#define DEFAULT_PALETTE 15
+#if (_WIN32_WINNT >= 0x0500)
+#define DC_BRUSH 18
+#define DC_PEN 19
+#endif
#define SYSPAL_NOSTATIC 2
#define SYSPAL_STATIC 1
#define SYSPAL_ERROR 0
@@ -2690,6 +2694,10 @@ UINT WINAPI SetBoundsRect(HDC,LPCRECT,UINT);
BOOL WINAPI SetBrushOrgEx(HDC,int,int,LPPOINT);
BOOL WINAPI SetColorAdjustment(HDC,const COLORADJUSTMENT*);
BOOL WINAPI SetColorSpace(HDC,HCOLORSPACE);
+#if (_WIN32_WINNT >= 0x0500)
+COLORREF WINAPI SetDCBrushColor(HDC,COLORREF);
+COLORREF WINAPI SetDCPenColor(HDC,COLORREF);
+#endif
BOOL WINAPI SetDeviceGammaRamp(HDC,PVOID);
UINT WINAPI SetDIBColorTable(HDC,UINT,UINT,const RGBQUAD*);
int WINAPI SetDIBits(HDC,HBITMAP,UINT,UINT,PCVOID,const BITMAPINFO*,UINT);