diff options
author | Danny Smith <dannysmith@users.sourceforge.net> | 2003-04-30 09:28:15 +0000 |
---|---|---|
committer | Danny Smith <dannysmith@users.sourceforge.net> | 2003-04-30 09:28:15 +0000 |
commit | 14dbd34e9e25003fd78957c5a1cc53c6e6635766 (patch) | |
tree | 0ff2810ada2cb36ce9c2af2925476bd8037bb23e | |
parent | 078df11cf2e918957ae4a05a18316783b285a4ea (diff) | |
download | newlib-14dbd34e9e25003fd78957c5a1cc53c6e6635766.zip newlib-14dbd34e9e25003fd78957c5a1cc53c6e6635766.tar.gz newlib-14dbd34e9e25003fd78957c5a1cc53c6e6635766.tar.bz2 |
* 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/ChangeLog | 8 | ||||
-rw-r--r-- | winsup/w32api/include/wingdi.h | 8 | ||||
-rw-r--r-- | winsup/w32api/lib/gdi32.def | 2 |
3 files changed, 17 insertions, 1 deletions
diff --git a/winsup/w32api/ChangeLog b/winsup/w32api/ChangeLog index 71bc333..990cc13 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 287e9f3..5c57f7f 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 39c36ec..927664c 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 |