• R/O
  • HTTP
  • SSH
  • HTTPS

mingw-org-wsl: Commit

The MinGW.OSDN Windows System Libraries. Formerly designated as "MinGW.org Windows System Libraries", this encapsulates the "mingwrt" C runtime library extensions, and the "w32api" 32-bit MS-Windows API libraries.

Please note that this project no longer owns the "MinGW.org" domain name; any software which may be distributed from that domain is NOT supported by this project.


Commit MetaInfo

Revisãof511afc8646a5a08e70ee3ef69ebba5238cc7b28 (tree)
Hora2021-02-10 07:28:11
AutorAlexei Podtelezhnikov <apodtele@gmai...>
CommiterAlexei Podtelezhnikov

Mensagem de Log

Add missing <wingdi.h> definitions.

Mudança Sumário

Diff

--- a/w32api/ChangeLog
+++ b/w32api/ChangeLog
@@ -1,3 +1,13 @@
1+2021-02-09 Alexei Podtelezhnikov <apodtele@gmail.com>
2+
3+ Add missing <wingdi.h> definitions.
4+
5+ * include/wingdi.h (BI_ALPHABITFIELDS, BI_CMYK, BI_CMYKRLE4)
6+ (BI_CMYKRLE8, DIB_PAL_INDICES, OUT_SCREEN_OUTLINE_PRECIS)
7+ (BS_MONOPATTERN, LAYOUT_LTR, LCS_sRGB, LCS_WINDOWS_COLOR_SPACE)
8+ (PROFILE_EMBEDDED, LCS_PROFILE_EMBEDDED, PROFILE_LINKED)
9+ (LCS_PROFILE_LINKED, LCS_GM_ABS_COLORIMETRIC): Define.
10+
111 2021-01-25 Keith Marshall <keith@users.osdn.me>
212
313 Represent <winbase.h> file creation bit-flags in hexadecimal.
--- a/w32api/include/wingdi.h
+++ b/w32api/include/wingdi.h
@@ -61,6 +61,10 @@ typedef BYTE BCHAR;
6161 #define BI_BITFIELDS 3
6262 #define BI_JPEG 4
6363 #define BI_PNG 5
64+#define BI_ALPHABITFIELDS 6
65+#define BI_CMYK 11
66+#define BI_CMYKRLE8 12
67+#define BI_CMYKRLE4 13
6468 #define LF_FACESIZE 32
6569 #define LF_FULLFACESIZE 64
6670 #define CA_NEGATIVE 1
@@ -347,8 +351,9 @@ typedef BYTE BCHAR;
347351 #define COMPLEXREGION 3
348352 #define ERROR 0
349353 #define CBM_INIT 4
350-#define DIB_PAL_COLORS 1
351354 #define DIB_RGB_COLORS 0
355+#define DIB_PAL_COLORS 1
356+#define DIB_PAL_INDICES 2
352357 #define FW_DONTCARE 0
353358 #define FW_THIN 100
354359 #define FW_EXTRALIGHT 200
@@ -394,6 +399,7 @@ typedef BYTE BCHAR;
394399 #define OUT_TT_ONLY_PRECIS 7
395400 #define OUT_OUTLINE_PRECIS 8
396401 /* http://www.pinvoke.net/default.aspx/Structures/LOGFONT.html */
402+#define OUT_SCREEN_OUTLINE_PRECIS 9
397403 #define OUT_PS_ONLY_PRECIS 10
398404 #define CLIP_DEFAULT_PRECIS 0
399405 #define CLIP_CHARACTER_PRECIS 1
@@ -985,12 +991,20 @@ typedef BYTE BCHAR;
985991 #define BS_DIBPATTERNPT 6
986992 #define BS_PATTERN8X8 7
987993 #define BS_DIBPATTERN8X8 8
994+#define BS_MONOPATTERN 9
988995 #define LCS_CALIBRATED_RGB 0
989996 #define LCS_DEVICE_RGB 1
990997 #define LCS_DEVICE_CMYK 2
998+#define LCS_sRGB 0x73524742
999+#define LCS_WINDOWS_COLOR_SPACE 0x57696E20
1000+#define LCS_PROFILE_LINKED 0x4C494E4B
1001+#define LCS_PROFILE_EMBEDDED 0x4D424544
1002+#define PROFILE_LINKED LCS_PROFILE_LINKED
1003+#define PROFILE_EMBEDDED LCS_PROFILE_EMBEDDED
9911004 #define LCS_GM_BUSINESS 1
9921005 #define LCS_GM_GRAPHICS 2
9931006 #define LCS_GM_IMAGES 4
1007+#define LCS_GM_ABS_COLORIMETRIC 8
9941008 #define RASTER_FONTTYPE 1
9951009 #define DEVICE_FONTTYPE 2
9961010 #define TRUETYPE_FONTTYPE 4
@@ -1226,6 +1240,7 @@ typedef BYTE BCHAR;
12261240 #define AC_SRC_NO_ALPHA 0x02
12271241 #define AC_DST_NO_PREMULT_ALPHA 0x10
12281242 #define AC_DST_NO_ALPHA 0x20
1243+#define LAYOUT_LTR 0
12291244 #define LAYOUT_RTL 1
12301245 #define LAYOUT_BITMAPORIENTATIONPRESERVED 8
12311246
Show on old repository browser