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:
authorEarnie Boyd <earnie@users.sf.net>2005-07-14 03:16:19 +0400
committerEarnie Boyd <earnie@users.sf.net>2005-07-14 03:16:19 +0400
commit46deb14e854648f839b039f50b04d5a098935058 (patch)
tree1ecaf1f8bde7189e603b4567f7e0b00c60953ce7
parent9fa04b085a98f9c1578c23b0124e169af8e9530e (diff)
2005-07-13 Benoit Blanchon <bblanchon@users.sourceforge.net>
* include/wingdi.h (SHADEBLENDCAPS, SB_NONE, SB_CONST_ALPHA, SB_PIXEL_ALPHA, SB_PREMULT_ALPHA, SB_GRAD_RECT, SB_GRAD_TRI, COLORMGMTCAPS, CM_NONE, CM_DEVICE_ICM, CM_GAMMA_RAMP, CM_CMYK_COLOR): Define.
-rw-r--r--winsup/w32api/ChangeLog9
-rw-r--r--winsup/w32api/include/wingdi.h14
2 files changed, 22 insertions, 1 deletions
diff --git a/winsup/w32api/ChangeLog b/winsup/w32api/ChangeLog
index b6d133df3..6fe599d2d 100644
--- a/winsup/w32api/ChangeLog
+++ b/winsup/w32api/ChangeLog
@@ -1,3 +1,10 @@
+2005-07-13 Benoit Blanchon <bblanchon@users.sourceforge.net>
+
+ * include/wingdi.h (SHADEBLENDCAPS, SB_NONE, SB_CONST_ALPHA,
+ SB_PIXEL_ALPHA, SB_PREMULT_ALPHA, SB_GRAD_RECT, SB_GRAD_TRI,
+ COLORMGMTCAPS, CM_NONE, CM_DEVICE_ICM, CM_GAMMA_RAMP,
+ CM_CMYK_COLOR): Define.
+
2005-07-08 Dimitri Papadopoulos <papadopo@users.sourceforge.net>
* include/objsafe.h: New file.
@@ -121,7 +128,7 @@
2005-01-02 Earnie Boyd <earnie@users.sf.net>
- * include/w32api.h: Increment version.
+ * include/w32api.h: Increment version to 3.2.
* Makefile.in: Ditto.
* include/afxres.h: Remove the \r from the line ending.
* include/errorrep.h: Ditto.
diff --git a/winsup/w32api/include/wingdi.h b/winsup/w32api/include/wingdi.h
index 1b91ba945..b70a374fd 100644
--- a/winsup/w32api/include/wingdi.h
+++ b/winsup/w32api/include/wingdi.h
@@ -646,6 +646,20 @@ extern "C" {
#define DESKTOPHORZRES 118
#define DESKTOPVERTRES 117
#define BLTALIGNMENT 119
+#if(WINVER >= 0x0500)
+#define SHADEBLENDCAPS 120
+#define SB_NONE 0x00
+#define SB_CONST_ALPHA 0x01
+#define SB_PIXEL_ALPHA 0x02
+#define SB_PREMULT_ALPHA 0x04
+#define SB_GRAD_RECT 0x10
+#define SB_GRAD_TRI 0x20
+#define COLORMGMTCAPS 121
+#define CM_NONE 0x00
+#define CM_DEVICE_ICM 0x01
+#define CM_GAMMA_RAMP 0x02
+#define CM_CMYK_COLOR 0x04
+#endif
#define RASTERCAPS 38
#define RC_BANDING 2
#define RC_BITBLT 1