Re-add local w32api changes
Modified: trunk/reactos/w32api/include/GL/gl.h
Added: trunk/reactos/w32api/include/GdiPlus.h
Added: trunk/reactos/w32api/include/GdiPlusBase.h
Added: trunk/reactos/w32api/include/GdiPlusBrush.h
Added: trunk/reactos/w32api/include/GdiPlusColor.h
Added: trunk/reactos/w32api/include/GdiPlusColorMatrix.h
Added: trunk/reactos/w32api/include/GdiPlusEffects.h
Added: trunk/reactos/w32api/include/GdiPlusEnums.h
Added: trunk/reactos/w32api/include/GdiPlusFlat.h
Added: trunk/reactos/w32api/include/GdiPlusGpStubs.h
Added: trunk/reactos/w32api/include/GdiPlusGraphics.h
Added: trunk/reactos/w32api/include/GdiPlusHeaders.h
Added: trunk/reactos/w32api/include/GdiPlusImageAttributes.h
Added: trunk/reactos/w32api/include/GdiPlusImaging.h
Added: trunk/reactos/w32api/include/GdiPlusInit.h
Added: trunk/reactos/w32api/include/GdiPlusLineCaps.h
Added: trunk/reactos/w32api/include/GdiPlusMatrix.h
Added: trunk/reactos/w32api/include/GdiPlusMem.h
Added: trunk/reactos/w32api/include/GdiPlusMetaFile.h
Added: trunk/reactos/w32api/include/GdiPlusMetaHeader.h
Added: trunk/reactos/w32api/include/GdiPlusPath.h
Added: trunk/reactos/w32api/include/GdiPlusPen.h
Added: trunk/reactos/w32api/include/GdiPlusPixelFormats.h
Added: trunk/reactos/w32api/include/GdiPlusStringFormat.h
Added: trunk/reactos/w32api/include/GdiPlusTypes.h
Modified: trunk/reactos/w32api/include/accctrl.h
Modified: trunk/reactos/w32api/include/aclapi.h
Added: trunk/reactos/w32api/include/aclui.h
Modified: trunk/reactos/w32api/include/basetsd.h
Modified: trunk/reactos/w32api/include/basetyps.h
Modified: trunk/reactos/w32api/include/commctrl.h
Added: trunk/reactos/w32api/include/ddk/afilter.h
Modified: trunk/reactos/w32api/include/ddk/atm.h
Modified: trunk/reactos/w32api/include/ddk/batclass.h
Modified: trunk/reactos/w32api/include/ddk/cfg.h
Modified: trunk/reactos/w32api/include/ddk/cfgmgr32.h
Modified: trunk/reactos/w32api/include/ddk/d4drvif.h
Modified: trunk/reactos/w32api/include/ddk/d4iface.h
Modified: trunk/reactos/w32api/include/ddk/ddkmapi.h
Modified: trunk/reactos/w32api/include/ddk/hidclass.h
Modified: trunk/reactos/w32api/include/ddk/hidpi.h
Modified: trunk/reactos/w32api/include/ddk/mcd.h
Modified: trunk/reactos/w32api/include/ddk/miniport.h
Modified: trunk/reactos/w32api/include/ddk/mountdev.h
Modified: trunk/reactos/w32api/include/ddk/mountmgr.h
Modified: trunk/reactos/w32api/include/ddk/ndis.h
Modified: trunk/reactos/w32api/include/ddk/ndistapi.h
Modified: trunk/reactos/w32api/include/ddk/ndiswan.h
Modified: trunk/reactos/w32api/include/ddk/netpnp.h
Modified: trunk/reactos/w32api/include/ddk/newdev.h
Added: trunk/reactos/w32api/include/ddk/ntagp.h
Modified: trunk/reactos/w32api/include/ddk/ntapi.h
Modified: trunk/reactos/w32api/include/ddk/ntdd8042.h
Modified: trunk/reactos/w32api/include/ddk/ntddbeep.h
Modified: trunk/reactos/w32api/include/ddk/ntddcdrm.h
Modified: trunk/reactos/w32api/include/ddk/ntddcdvd.h
Modified: trunk/reactos/w32api/include/ddk/ntddchgr.h
Modified: trunk/reactos/w32api/include/ddk/ntdddisk.h
Modified: trunk/reactos/w32api/include/ddk/ntddk.h
Modified: trunk/reactos/w32api/include/ddk/ntddkbd.h
Modified: trunk/reactos/w32api/include/ddk/ntddmou.h
Modified: trunk/reactos/w32api/include/ddk/ntddpar.h
Modified: trunk/reactos/w32api/include/ddk/ntddpcm.h
Modified: trunk/reactos/w32api/include/ddk/ntddscsi.h
Modified: trunk/reactos/w32api/include/ddk/ntddser.h
Modified: trunk/reactos/w32api/include/ddk/ntddstor.h
Modified: trunk/reactos/w32api/include/ddk/ntddtape.h
Modified: trunk/reactos/w32api/include/ddk/ntddtdi.h
Modified: trunk/reactos/w32api/include/ddk/ntddvdeo.h
Modified: trunk/reactos/w32api/include/ddk/ntddvol.h
Modified: trunk/reactos/w32api/include/ddk/ntifs.h
Modified: trunk/reactos/w32api/include/ddk/ntpoapi.h
Modified: trunk/reactos/w32api/include/ddk/parallel.h
Modified: trunk/reactos/w32api/include/ddk/pfhook.h
Modified: trunk/reactos/w32api/include/ddk/poclass.h
Added: trunk/reactos/w32api/include/ddk/prntfont.h
Modified: trunk/reactos/w32api/include/ddk/scsi.h
Modified: trunk/reactos/w32api/include/ddk/scsiscan.h
Modified: trunk/reactos/w32api/include/ddk/scsiwmi.h
Modified: trunk/reactos/w32api/include/ddk/smbus.h
Modified: trunk/reactos/w32api/include/ddk/srb.h
Modified: trunk/reactos/w32api/include/ddk/storport.h
Modified: trunk/reactos/w32api/include/ddk/tdi.h
Modified: trunk/reactos/w32api/include/ddk/tdiinfo.h
Modified: trunk/reactos/w32api/include/ddk/tdikrnl.h
Modified: trunk/reactos/w32api/include/ddk/tvout.h
Modified: trunk/reactos/w32api/include/ddk/upssvc.h
Modified: trunk/reactos/w32api/include/ddk/usb.h
Modified: trunk/reactos/w32api/include/ddk/usb100.h
Modified: trunk/reactos/w32api/include/ddk/usbdi.h
Modified: trunk/reactos/w32api/include/ddk/usbioctl.h
Modified: trunk/reactos/w32api/include/ddk/usbiodef.h
Modified: trunk/reactos/w32api/include/ddk/usbscan.h
Modified: trunk/reactos/w32api/include/ddk/usbuser.h
Modified: trunk/reactos/w32api/include/ddk/video.h
Modified: trunk/reactos/w32api/include/ddk/videoagp.h
Added: trunk/reactos/w32api/include/ddk/wdmguid.h
Modified: trunk/reactos/w32api/include/ddk/win2k.h
Modified: trunk/reactos/w32api/include/ddk/winddi.h
Modified: trunk/reactos/w32api/include/ddk/winddk.h
[truncated at 100 lines; 63 more skipped]
_____
Modified: trunk/reactos/w32api/include/GL/gl.h
--- trunk/reactos/w32api/include/GL/gl.h 2005-05-08 17:44:37 UTC
(rev 15141)
+++ trunk/reactos/w32api/include/GL/gl.h 2005-05-08 18:02:41 UTC
(rev 15142)
@@ -1,4 +1,4 @@
-/* $Id: gl.h,v 1.3 2003/09/12 13:26:51 earnie Exp $ */
+/* $Id: gl.h 12852 2005-01-06 13:58:04Z mf $ */
/*
* Mesa 3-D graphics library
_____
Added: trunk/reactos/w32api/include/GdiPlus.h
--- trunk/reactos/w32api/include/GdiPlus.h 2005-05-08 17:44:37 UTC
(rev 15141)
+++ trunk/reactos/w32api/include/GdiPlus.h 2005-05-08 18:02:41 UTC
(rev 15142)
@@ -0,0 +1,78 @@
+/*
+ * GdiPlus.h
+ *
+ * Windows GDI+
+ *
+ * This file is part of the w32api package.
+ *
+ * THIS SOFTWARE IS NOT COPYRIGHTED
+ *
+ * This source code is offered for use in the public domain. You may
+ * use, modify or distribute it freely.
+ *
+ * This code is distributed in the hope that it will be useful but
+ * WITHOUT ANY WARRANTY. ALL WARRANTIES, EXPRESS OR IMPLIED ARE HEREBY
+ * DISCLAIMED. This includes but is not limited to warranties of
+ * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.
+ */
+
+#ifndef _GDIPLUS_H
+#define _GDIPLUS_H
+
+#if __GNUC__ >= 3
+#pragma GCC system_header
+#endif
+
+#ifndef __cplusplus
+#error In order to use GDI+ headers use must use a C++ compiler
+#else
+
+struct IDirectDrawSurface7;
+
+typedef signed short INT16;
+typedef unsigned short UINT16;
+
+#include <pshpack8.h>
+
+namespace Gdiplus
+{
+ namespace DllExports
+ {
+ #include "GdiplusMem.h"
+ };
+
+ #include "GdiplusBase.h"
+
+ #include "GdiplusEnums.h"
+ #include "GdiplusTypes.h"
+ #include "GdiplusInit.h"
+ #include "GdiplusPixelFormats.h"
+ #include "GdiplusColor.h"
+ #include "GdiplusMetaHeader.h"
+ #include "GdiplusImaging.h"
+ #include "GdiplusColorMatrix.h"
+ #include "GdiplusGpStubs.h"
+ #include "GdiplusHeaders.h"
+
+ namespace DllExports
+ {
+ #include "GdiPlusFlat.h"
+ };
+
+ #include "GdiplusImageAttributes.h"
+ #include "GdiplusMatrix.h"
+ #include "GdiplusBrush.h"
+ #include "GdiplusPen.h"
+ #include "GdiplusStringFormat.h"
+ #include "GdiplusPath.h"
+ #include "GdiplusLineCaps.h"
+ #include "GdiplusMetaFile.h"
+ #include "GdiplusGraphics.h"
+ #include "GdiplusEffects.h"
+}
+
+#include <poppack.h>
+
+#endif
+
+#endif /* _GDIPLUS_H */
Property changes on: trunk/reactos/w32api/include/GdiPlus.h
___________________________________________________________________
Name: svn:eol-style
+ native
_____
Added: trunk/reactos/w32api/include/GdiPlusBase.h
--- trunk/reactos/w32api/include/GdiPlusBase.h 2005-05-08 17:44:37 UTC
(rev 15141)
+++ trunk/reactos/w32api/include/GdiPlusBase.h 2005-05-08 18:02:41 UTC
(rev 15142)
@@ -0,0 +1,49 @@
+/*
+ * GdiPlusBase.h
+ *
+ * Windows GDI+
+ *
+ * This file is part of the w32api package.
+ *
+ * THIS SOFTWARE IS NOT COPYRIGHTED
+ *
+ * This source code is offered for use in the public domain. You may
+ * use, modify or distribute it freely.
+ *
+ * This code is distributed in the hope that it will be useful but
+ * WITHOUT ANY WARRANTY. ALL WARRANTIES, EXPRESS OR IMPLIED ARE HEREBY
+ * DISCLAIMED. This includes but is not limited to warranties of
+ * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.
+ */
+
+#ifndef _GDIPLUSBASE_H
+#define _GDIPLUSBASE_H
+
+#if __GNUC__ >= 3
+#pragma GCC system_header
+#endif
+
+class GdiplusBase {
+public:
+ void operator delete(void *in_pVoid)
+ {
+ DllExports::GdipFree(in_pVoid);
+ }
+
+ void operator delete[](void *in_pVoid)
+ {
+ DllExports::GdipFree(in_pVoid);
+ }
+
+ void *operator new(size_t in_size)
+ {
+ return DllExports::GdipAlloc(in_size);
+ }
+
+ void *operator new[](size_t in_size)
+ {
+ return DllExports::GdipAlloc(in_size);
+ }
+};
+
+#endif /* _GDIPLUSBASE_H */
Property changes on: trunk/reactos/w32api/include/GdiPlusBase.h
___________________________________________________________________
Name: svn:eol-style
+ native
_____
Added: trunk/reactos/w32api/include/GdiPlusBrush.h
--- trunk/reactos/w32api/include/GdiPlusBrush.h 2005-05-08 17:44:37 UTC
(rev 15141)
+++ trunk/reactos/w32api/include/GdiPlusBrush.h 2005-05-08 18:02:41 UTC
(rev 15142)
@@ -0,0 +1,315 @@
+/*
+ * GdiPlusBrush.h
+ *
+ * Windows GDI+
+ *
+ * This file is part of the w32api package.
+ *
+ * THIS SOFTWARE IS NOT COPYRIGHTED
+ *
+ * This source code is offered for use in the public domain. You may
+ * use, modify or distribute it freely.
+ *
+ * This code is distributed in the hope that it will be useful but
+ * WITHOUT ANY WARRANTY. ALL WARRANTIES, EXPRESS OR IMPLIED ARE HEREBY
+ * DISCLAIMED. This includes but is not limited to warranties of
+ * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.
+ */
+
+#ifndef _GDIPLUSBRUSH_H
+#define _GDIPLUSBRUSH_H
+
+#if __GNUC__ >= 3
+#pragma GCC system_header
+#endif
+
+class Brush : public GdiplusBase
+{
+public:
+ Brush *Clone(VOID) const
+ {
+ return NULL;
+ }
+
+ Status GetLastStatus(VOID)
+ {
+ return NotImplemented;
+ }
+
+ BrushType GetType(VOID)
+ {
+ return BrushTypeSolidColor;
+ }
+};
+
+
+class HatchBrush : public Brush
+{
+public:
+ HatchBrush(HatchStyle hatchStyle, const Color &foreColor, const Color
&backColor)
+ {
+ }
+
+ Status GetBackgroundColor(Color *color) const
+ {
+ return NotImplemented;
+ }
+
+ Status GetForegroundColor(Color *color) const
+ {
+ return NotImplemented;
+ }
+
+ HatchStyle GetHatchStyle(VOID) const
+ {
+ return HatchStyleHorizontal;
+ }
+};
+
+
+class LinearGradientBrush : public Brush
+{
+public:
+ LinearGradientBrush(const PointF &point1, const PointF &point2, const
Color &color1, const Color &color2)
+ {
+ }
+
+ LinearGradientBrush(const Rect &rect, const Color &color1, const
Color &color2, REAL angle, BOOL isAngleScalable)
+ {
+ }
+
+ LinearGradientBrush(const Rect &rect, const Color &color1, const
Color &color2, LinearGradientMode mode)
+ {
+ }
+
+ LinearGradientBrush(const Point &point1, const Point &point2, const
Color &color1, const Color &color2)
+ {
+ }
+
+ LinearGradientBrush(const RectF &rect, const Color &color1, const
Color &color2, REAL angle, BOOL isAngleScalable)
+ {
+ }
+
+ LinearGradientBrush(const RectF &rect, const Color &color1, const
Color &color2, LinearGradientMode mode)
+ {
+ }
+
+ Status GetBlend(REAL *blendFactors, REAL *blendPositions, INT count)
+ {
+ return NotImplemented;
+ }
+
+ INT GetBlendCount(VOID) const
+ {
+ return 0;
+ }
+
+ BOOL GetGammaCorrection(VOID) const
+ {
+ return FALSE;
+ }
+
+ INT GetInterpolationColorCount(VOID) const
+ {
+ return 0;
+ }
+
+ Status GetInterpolationColors(Color *presetColors, REAL
*blendPositions, INT count) const
+ {
+ return NotImplemented;
+ }
+
+ Status GetLinearColors(Color* colors) const
+ {
+ return NotImplemented;
+ }
+
+ Status GetRectangle(Rect *rect) const
+ {
+ return NotImplemented;
+ }
+
+ Status GetRectangle(RectF* rect) const
+ {
+ return NotImplemented;
+ }
+
+ Status GetTransform(Matrix* matrix) const
+ {
+ return NotImplemented;
+ }
+
+ WrapMode GetWrapMode(VOID) const
+ {
+ return WrapModeTile;
+ }
+
+ Status MultiplyTransform(const Matrix *matrix, MatrixOrder order)
+ {
+ return NotImplemented;
+ }
+
+ Status ResetTransform(VOID)
+ {
+ return NotImplemented;
+ }
+
+ Status RotateTransform(REAL angle, MatrixOrder order)
+ {
+ return NotImplemented;
+ }
+
+ Status ScaleTransform(REAL sx, REAL sy, MatrixOrder order)
+ {
+ return NotImplemented;
+ }
+
+ Status SetBlend(const REAL *blendFactors, const REAL *blendPositions,
INT count)
+ {
+ return NotImplemented;
+ }
+
+ Status SetBlendBellShape(REAL focus, REAL scale)
+ {
+ return NotImplemented;
+ }
+
+ Status SetBlendTriangularShape(REAL focus, REAL scale)
+ {
+ return NotImplemented;
+ }
+
+ Status SetGammaCorrection(BOOL useGammaCorrection)
+ {
+ return NotImplemented;
+ }
+
+ Status SetInterpolationColors(const Color *presetColors, const REAL
*blendPositions, INT count)
+ {
+ return NotImplemented;
+ }
+
+ Status SetLinearColors(const Color& color1, const Color& color2)
+ {
+ return NotImplemented;
+ }
+
+ Status SetTransform(const Matrix* matrix)
+ {
+ return NotImplemented;
+ }
+
+ Status SetWrapMode(WrapMode wrapMode)
+ {
+ return NotImplemented;
+ }
+
+ Status TranslateTransform(REAL dx, REAL dy, MatrixOrder order)
+ {
+ return NotImplemented;
+ }
+};
+
+
+class SolidBrush : Brush
+{
+public:
+ SolidBrush(const Color &color)
+ {
+ }
+
+ Status GetColor(Color *color) const
+ {
+ return NotImplemented;
+ }
+
+ Status SetColor(const Color &color)
+ {
+ return NotImplemented;
+ }
+};
+
+
+class TextureBrush : Brush
+{
+public:
+ TextureBrush(Image *image, WrapMode wrapMode, const RectF &dstRect)
+ {
+ }
+
+ TextureBrush(Image *image, Rect &dstRect, ImageAttributes
*imageAttributes)
+ {
+ }
+
+ TextureBrush(Image *image, WrapMode wrapMode, INT dstX, INT dstY, INT
dstWidth, INT dstHeight)
+ {
+ }
+
+ TextureBrush(Image *image, WrapMode wrapMode, REAL dstX, REAL dstY,
REAL dstWidth, REAL dstHeight)
+ {
+ }
+
+ TextureBrush(Image *image, RectF &dstRect, ImageAttributes
*imageAttributes)
+ {
+ }
+
+ TextureBrush(Image *image, WrapMode wrapMode)
+ {
+ }
+
+ TextureBrush(Image *image, WrapMode wrapMode, const Rect &dstRect)
+ {
+ }
+
+ Image *GetImage(VOID) const
+ {
+ return NULL;
+ }
+
+ Status GetTransform(Matrix *matrix) const
+ {
+ return NotImplemented;
+ }
+
+ WrapMode GetWrapMode(VOID) const
+ {
+ return WrapModeTile;
+ }
+
+ Status MultiplyTransform(Matrix *matrix, MatrixOrder order)
+ {
+ return NotImplemented;
+ }
+
+ Status ResetTransform(VOID)
+ {
+ return NotImplemented;
+ }
+
+ Status RotateTransform(REAL angle, MatrixOrder order)
+ {
+ return NotImplemented;
+ }
+
+ Status ScaleTransform(REAL sx, REAL sy, MatrixOrder order)
+ {
+ return NotImplemented;
+ }
+
+ Status SetTransform(const Matrix *matrix)
+ {
+ return NotImplemented;
+ }
+
+ Status SetWrapMode(WrapMode wrapMode)
+ {
+ return NotImplemented;
+ }
+
+ Status TranslateTransform(REAL dx, REAL dy, MatrixOrder order)
+ {
+ return NotImplemented;
+ }
+};
+
+#endif /* _GDIPLUSBRUSH_H */
Property changes on: trunk/reactos/w32api/include/GdiPlusBrush.h
___________________________________________________________________
Name: svn:eol-style
+ native
_____
Added: trunk/reactos/w32api/include/GdiPlusColor.h
--- trunk/reactos/w32api/include/GdiPlusColor.h 2005-05-08 17:44:37 UTC
(rev 15141)
+++ trunk/reactos/w32api/include/GdiPlusColor.h 2005-05-08 18:02:41 UTC
(rev 15142)
@@ -0,0 +1,279 @@
+/*
+ * GdiPlusColor.h
+ *
+ * Windows GDI+
+ *
+ * This file is part of the w32api package.
+ *
+ * THIS SOFTWARE IS NOT COPYRIGHTED
+ *
+ * This source code is offered for use in the public domain. You may
+ * use, modify or distribute it freely.
+ *
+ * This code is distributed in the hope that it will be useful but
+ * WITHOUT ANY WARRANTY. ALL WARRANTIES, EXPRESS OR IMPLIED ARE HEREBY
+ * DISCLAIMED. This includes but is not limited to warranties of
+ * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.
+ */
+
+#ifndef _GDIPLUSCOLOR_H
+#define _GDIPLUSCOLOR_H
+
+#if __GNUC__ >= 3
+#pragma GCC system_header
+#endif
+
+typedef enum {
+ ColorChannelFlagsC = 0,
+ ColorChannelFlagsM = 1,
+ ColorChannelFlagsY = 2,
+ ColorChannelFlagsK = 3,
+ ColorChannelFlagsLast = 4
+} ColorChannelFlags;
+
+
+class Color
+{
+public:
+ Color(BYTE a, BYTE r, BYTE g, BYTE b)
+ {
+ color = MakeARGB(a, r, g, b);
+ }
+
+ Color(VOID)
+ {
+ }
+
+ Color(BYTE r, BYTE g, BYTE b)
+ {
+ }
+
+ Color(ARGB argb)
+ {
+ }
+
+ BYTE GetA(VOID)
+ {
+ return 0;
+ }
+
+ BYTE GetAlpha(VOID)
+ {
+ return 0;
+ }
+
+ BYTE GetB(VOID)
+ {
+ return 0;
+ }
+
+ BYTE GetBlue(VOID)
+ {
+ return 0;
+ }
+
+ BYTE GetG(VOID)
+ {
+ return 0;
+ }
+
+ BYTE GetGreen(VOID)
+ {
+ return 0;
+ }
+
+ BYTE GetR(VOID)
+ {
+ return 0;
+ }
+
+ BYTE GetRed(VOID)
+ {
+ return 0;
+ }
+
+ ARGB GetValue(VOID) const
+ {
+ return color;
+ }
+
+ enum
+ {
+ AlphaShift = 24,
+ RedShift = 16,
+ GreenShift = 8,
+ BlueShift = 0
+ };
+
+ static ARGB MakeARGB(BYTE a, BYTE r, BYTE g, BYTE b)
+ {
+ return (((ARGB)(b) << BlueShift) |
+ ((ARGB)(g) << GreenShift) |
+ ((ARGB)(r) << RedShift) |
+ ((ARGB)(a) << AlphaShift));
+ }
+
+ VOID SetFromCOLORREF(COLORREF rgb)
+ {
+ }
+
+ VOID SetValue(ARGB argb)
+ {
+ }
+
+ COLORREF ToCOLORREF(VOID)
+ {
+ return 0;
+ }
+
+
+ enum
+ {
+ AliceBlue = 0xFFF0F8FF,
+ AntiqueWhite = 0xFFFAEBD7,
+ Aqua = 0xFF00FFFF,
+ Aquamarine = 0xFF7FFFD4,
+ Azure = 0xFFF0FFFF,
+ Beige = 0xFFF5F5DC,
+ Bisque = 0xFFFFE4C4,
+ Black = 0xFF000000,
+ BlanchedAlmond = 0xFFFFEBCD,
+ Blue = 0xFF0000FF,
+ BlueViolet = 0xFF8A2BE2,
+ Brown = 0xFFA52A2A,
+ BurlyWood = 0xFFDEB887,
+ CadetBlue = 0xFF5F9EA0,
+ Chartreuse = 0xFF7FFF00,
+ Chocolate = 0xFFD2691E,
+ Coral = 0xFFFF7F50,
+ CornflowerBlue = 0xFF6495ED,
+ Cornsilk = 0xFFFFF8DC,
+ Crimson = 0xFFDC143C,
+ Cyan = 0xFF00FFFF,
+ DarkBlue = 0xFF00008B,
+ DarkCyan = 0xFF008B8B,
+ DarkGoldenrod = 0xFFB8860B,
+ DarkGray = 0xFFA9A9A9,
+ DarkGreen = 0xFF006400,
+ DarkKhaki = 0xFFBDB76B,
+ DarkMagenta = 0xFF8B008B,
+ DarkOliveGreen = 0xFF556B2F,
+ DarkOrange = 0xFFFF8C00,
+ DarkOrchid = 0xFF9932CC,
+ DarkRed = 0xFF8B0000,
+ DarkSalmon = 0xFFE9967A,
+ DarkSeaGreen = 0xFF8FBC8B,
+ DarkSlateBlue = 0xFF483D8B,
+ DarkSlateGray = 0xFF2F4F4F,
+ DarkTurquoise = 0xFF00CED1,
+ DarkViolet = 0xFF9400D3,
+ DeepPink = 0xFFFF1493,
+ DeepSkyBlue = 0xFF00BFFF,
+ DimGray = 0xFF696969,
+ DodgerBlue = 0xFF1E90FF,
+ Firebrick = 0xFFB22222,
+ FloralWhite = 0xFFFFFAF0,
+ ForestGreen = 0xFF228B22,
+ Fuchsia = 0xFFFF00FF,
+ Gainsboro = 0xFFDCDCDC,
+ GhostWhite = 0xFFF8F8FF,
+ Gold = 0xFFFFD700,
+ Goldenrod = 0xFFDAA520,
+ Gray = 0xFF808080,
+ Green = 0xFF008000,
+ GreenYellow = 0xFFADFF2F,
+ Honeydew = 0xFFF0FFF0,
+ HotPink = 0xFFFF69B4,
+ IndianRed = 0xFFCD5C5C,
+ Indigo = 0xFF4B0082,
+ Ivory = 0xFFFFFFF0,
+ Khaki = 0xFFF0E68C,
+ Lavender = 0xFFE6E6FA,
+ LavenderBlush = 0xFFFFF0F5,
+ LawnGreen = 0xFF7CFC00,
+ LemonChiffon = 0xFFFFFACD,
+ LightBlue = 0xFFADD8E6,
+ LightCoral = 0xFFF08080,
+ LightCyan = 0xFFE0FFFF,
+ LightGoldenrodYellow = 0xFFFAFAD2,
+ LightGray = 0xFFD3D3D3,
+ LightGreen = 0xFF90EE90,
+ LightPink = 0xFFFFB6C1,
+ LightSalmon = 0xFFFFA07A,
+ LightSeaGreen = 0xFF20B2AA,
+ LightSkyBlue = 0xFF87CEFA,
+ LightSlateGray = 0xFF778899,
+ LightSteelBlue = 0xFFB0C4DE,
+ LightYellow = 0xFFFFFFE0,
+ Lime = 0xFF00FF00,
+ LimeGreen = 0xFF32CD32,
+ Linen = 0xFFFAF0E6,
+ Magenta = 0xFFFF00FF,
+ Maroon = 0xFF800000,
+ MediumAquamarine = 0xFF66CDAA,
+ MediumBlue = 0xFF0000CD,
+ MediumOrchid = 0xFFBA55D3,
+ MediumPurple = 0xFF9370DB,
+ MediumSeaGreen = 0xFF3CB371,
+ MediumSlateBlue = 0xFF7B68EE,
+ MediumSpringGreen = 0xFF00FA9A,
+ MediumTurquoise = 0xFF48D1CC,
+ MediumVioletRed = 0xFFC71585,
+ MidnightBlue = 0xFF191970,
+ MintCream = 0xFFF5FFFA,
+ MistyRose = 0xFFFFE4E1,
+ Moccasin = 0xFFFFE4B5,
+ NavajoWhite = 0xFFFFDEAD,
+ Navy = 0xFF000080,
+ OldLace = 0xFFFDF5E6,
+ Olive = 0xFF808000,
+ OliveDrab = 0xFF6B8E23,
+ Orange = 0xFFFFA500,
+ OrangeRed = 0xFFFF4500,
+ Orchid = 0xFFDA70D6,
+ PaleGoldenrod = 0xFFEEE8AA,
+ PaleGreen = 0xFF98FB98,
+ PaleTurquoise = 0xFFAFEEEE,
+ PaleVioletRed = 0xFFDB7093,
+ PapayaWhip = 0xFFFFEFD5,
+ PeachPuff = 0xFFFFDAB9,
+ Peru = 0xFFCD853F,
+ Pink = 0xFFFFC0CB,
+ Plum = 0xFFDDA0DD,
+ PowderBlue = 0xFFB0E0E6,
+ Purple = 0xFF800080,
+ Red = 0xFFFF0000,
+ RosyBrown = 0xFFBC8F8F,
+ RoyalBlue = 0xFF4169E1,
+ SaddleBrown = 0xFF8B4513,
+ Salmon = 0xFFFA8072,
+ SandyBrown = 0xFFF4A460,
+ SeaGreen = 0xFF2E8B57,
+ SeaShell = 0xFFFFF5EE,
+ Sienna = 0xFFA0522D,
+ Silver = 0xFFC0C0C0,
+ SkyBlue = 0xFF87CEEB,
+ SlateBlue = 0xFF6A5ACD,
+ SlateGray = 0xFF708090,
+ Snow = 0xFFFFFAFA,
+ SpringGreen = 0xFF00FF7F,
+ SteelBlue = 0xFF4682B4,
+ Tan = 0xFFD2B48C,
+ Teal = 0xFF008080,
+ Thistle = 0xFFD8BFD8,
+ Tomato = 0xFFFF6347,
+ Transparent = 0x00FFFFFF,
+ Turquoise = 0xFF40E0D0,
+ Violet = 0xFFEE82EE,
+ Wheat = 0xFFF5DEB3,
+ White = 0xFFFFFFFF,
+ WhiteSmoke = 0xFFF5F5F5,
+ Yellow = 0xFFFFFF00,
+ YellowGreen = 0xFF9ACD32,
+ };
+
+private:
+ ARGB color;
+};
+
+#endif /* _GDIPLUSCOLOR_H */
Property changes on: trunk/reactos/w32api/include/GdiPlusColor.h
___________________________________________________________________
Name: svn:eol-style
+ native
_____
Added: trunk/reactos/w32api/include/GdiPlusColorMatrix.h
--- trunk/reactos/w32api/include/GdiPlusColorMatrix.h 2005-05-08
17:44:37 UTC (rev 15141)
+++ trunk/reactos/w32api/include/GdiPlusColorMatrix.h 2005-05-08
18:02:41 UTC (rev 15142)
@@ -0,0 +1,51 @@
+/*
+ * GdiPlusColorMatrix.h
+ *
+ * Windows GDI+
+ *
+ * This file is part of the w32api package.
+ *
+ * THIS SOFTWARE IS NOT COPYRIGHTED
+ *
+ * This source code is offered for use in the public domain. You may
+ * use, modify or distribute it freely.
+ *
+ * This code is distributed in the hope that it will be useful but
+ * WITHOUT ANY WARRANTY. ALL WARRANTIES, EXPRESS OR IMPLIED ARE HEREBY
+ * DISCLAIMED. This includes but is not limited to warranties of
+ * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.
+ */
+
+#ifndef _GDIPLUSCOLORMATRIX_H
+#define _GDIPLUSCOLORMATRIX_H
+
+#if __GNUC__ >= 3
+#pragma GCC system_header
+#endif
+
+typedef struct {
+ Color oldColor;
+ Color newColor;
+} ColorMap;
+
+struct ColorMatrix {
+ REAL m[5][5];
+};
+
+typedef enum {
+ ColorAdjustTypeDefault = 0,
+ ColorAdjustTypeBitmap = 1,
+ ColorAdjustTypeBrush = 2,
+ ColorAdjustTypePen = 3,
+ ColorAdjustTypeText = 4,
+ ColorAdjustTypeCount = 5,
+ ColorAdjustTypeAny = 6
+} ColorAdjustType;
+
+typedef enum {
+ ColorMatrixFlagsDefault = 0,
+ ColorMatrixFlagsSkipGrays = 1,
+ ColorMatrixFlagsAltGray = 2
+} ColorMatrixFlags;
+
+#endif /* _GDIPLUSCOLORMATRIX_H */
Property changes on: trunk/reactos/w32api/include/GdiPlusColorMatrix.h
___________________________________________________________________
Name: svn:eol-style
+ native
_____
Added: trunk/reactos/w32api/include/GdiPlusEffects.h
--- trunk/reactos/w32api/include/GdiPlusEffects.h 2005-05-08
17:44:37 UTC (rev 15141)
+++ trunk/reactos/w32api/include/GdiPlusEffects.h 2005-05-08
18:02:41 UTC (rev 15142)
@@ -0,0 +1,292 @@
+/*
+ * GdiPlusEffects.h
+ *
+ * Windows GDI+
+ *
+ * This file is part of the w32api package.
+ *
+ * THIS SOFTWARE IS NOT COPYRIGHTED
+ *
+ * This source code is offered for use in the public domain. You may
+ * use, modify or distribute it freely.
+ *
+ * This code is distributed in the hope that it will be useful but
+ * WITHOUT ANY WARRANTY. ALL WARRANTIES, EXPRESS OR IMPLIED ARE HEREBY
+ * DISCLAIMED. This includes but is not limited to warranties of
+ * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.
+ */
+
+#ifndef _GDIPLUSEFFECTS_H
+#define _GDIPLUSEFFECTS_H
+
+#if __GNUC__ >= 3
+#pragma GCC system_header
+#endif
+
+typedef struct {
+ float radius;
+ BOOL expandEdge;
+} BlurParams;
+
+typedef struct {
+ INT brightnessLevel;
+ INT contrastLevel;
+} BrightnessContrastParams;
+
+typedef struct {
+ INT cyanRed;
+ INT magentaGreen;
+ INT yellowBlue;
+} ColorBalanceParams;
+
+typedef struct {
+ CurveAdjustments adjustment;
+ CurveChannel channel;
+ INT adjustValue;
+} ColorCurveParams;
+
+typedef struct {
+ INT hueLevel;
+ INT saturationLevel;
+ INT lightnessLevel;
+} HueSaturationLightnessParams;
+
+typedef struct {
+ INT highlight;
+ INT midtone;
+ INT shadow;
+} LevelsParams;
+
+typedef struct {
+ UINT numberOfAreas;
+ RECT *areas;
+} RedEyeCorrectionParams;
+
+typedef struct {
+ REAL radius;
+ REAL amount;
+} SharpenParams;
+
+typedef struct {
+ INT hue;
+ INT amount;
+} TintParams;
+
+
+class Effect
+{
+public:
+ Effect(VOID)
+ {
+ }
+
+ VOID *GetAuxData(VOID) const
+ {
+ return NULL;
+ }
+
+ INT GetAuxDataSize(VOID)
+ {
+ return 0;
+ }
+
+ Status GetParameterSize(UINT *size)
+ {
+ return NotImplemented;
+ }
+
+ VOID UseAuxData(const BOOL useAuxDataFlag)
+ {
+ }
+};
+
+
+class Blur : public Effect
+{
+public:
+ Blur(VOID)
+ {
+ }
+
+ Status GetParameters(UINT *size, BlurParams *parameters)
+ {
+ return NotImplemented;
+ }
+
+ Status SetParameters(const BlurParams *parameters)
+ {
+ return NotImplemented;
+ }
+};
+
+
+class BrightnessContrast : public Effect
+{
+public:
+ BrightnessContrast(VOID)
+ {
+ }
+
+ Status GetParameters(UINT *size, BrightnessContrastParams
*parameters)
+ {
+ return NotImplemented;
+ }
+
+ Status SetParameters(const BrightnessContrastParams *parameters)
+ {
+ return NotImplemented;
+ }
+};
+
+
+class ColorBalance : public Effect
+{
+public:
+ ColorBalance(VOID)
+ {
+ }
+
+ Status GetParameters(UINT *size, ColorBalanceParams *parameters)
+ {
+ return NotImplemented;
+ }
+
+ Status SetParameters(ColorBalanceParams *parameters)
+ {
+ return NotImplemented;
+ }
+};
+
+
+class ColorCurve : public Effect
+{
+public:
+ ColorCurve(VOID)
+ {
+ }
+
+ Status GetParameters(UINT *size, ColorCurveParams *parameters)
[truncated at 1000 lines; 22958 more skipped]