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
parent078df11cf2e918957ae4a05a18316783b285a4ea (diff)
* include/wingdi.h (DC_PEN, DC_BRUSH): Add defines.
(SetDCPenColor, SetDCBrushColor): Add prototypes. * lib/gdi32.def (SetDCPenColor, SetDCBrushColor): Add stubs.
-rw-r--r--winsup/w32api/ChangeLog8
-rw-r--r--winsup/w32api/include/wingdi.h8
-rw-r--r--winsup/w32api/lib/gdi32.def2
3 files changed, 17 insertions, 1 deletions
diff --git a/winsup/w32api/ChangeLog b/winsup/w32api/ChangeLog
index 71bc33354..990cc13ca 100644
--- a/winsup/w32api/ChangeLog
+++ b/winsup/w32api/ChangeLog
@@ -1,3 +1,9 @@
+2003-04-30 Danny Smith <dannysmith@users.sourceforge.net>
+
+ * include/wingdi.h (DC_PEN, DC_BRUSH): Add defines.
+ (SetDCPenColor, SetDCBrushColor): Add prototypes.
+ * lib/gdi32.def (SetDCPenColor, SetDCBrushColor): Add stubs.
+
2003-04-26 Bang Jun-Young <junyoung@netbsd.org>
* include/winioctl.h (DEVICE_TYPE_FROM_CTL_CODE): Add macro.
@@ -89,7 +95,7 @@
2003-04-07 Marcel Telka <telka@users.sourceforge.net>
- * include/ddk/winddk.h (KIRQL): Typedef as UCHAR. not ULONG.
+ * include/ddk/winddk.h (KIRQL): Typedef as UCHAR, not ULONG.
2003-03-30 Hans E. Molin <kvasi@users.sourceforge.net>
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);
diff --git a/winsup/w32api/lib/gdi32.def b/winsup/w32api/lib/gdi32.def
index 39c36ec20..927664c95 100644
--- a/winsup/w32api/lib/gdi32.def
+++ b/winsup/w32api/lib/gdi32.def
@@ -286,6 +286,8 @@ SetBoundsRect@12
SetBrushOrgEx@16
SetColorAdjustment@8
SetColorSpace@8
+SetDCBrushColor@8
+SetDCPenColor@8
SetDIBColorTable@16
SetDIBits@28
SetDIBitsToDevice@48