Commit aef85c72 authored by Iain Arnell's avatar Iain Arnell Committed by Alexandre Julliard

gdiplus: C++ fixes for headers.

parent 8a38fbca
...@@ -734,7 +734,7 @@ typedef enum StringTrimming StringTrimming; ...@@ -734,7 +734,7 @@ typedef enum StringTrimming StringTrimming;
typedef enum FontStyle FontStyle; typedef enum FontStyle FontStyle;
typedef enum StringFormatFlags StringFormatFlags; typedef enum StringFormatFlags StringFormatFlags;
typedef enum HotkeyPrefix HotkeyPrefix; typedef enum HotkeyPrefix HotkeyPrefix;
typedef enum PenAlignment GpPenAlignment; typedef enum PenAlignment PenAlignment;
typedef enum PaletteFlags PaletteFlags; typedef enum PaletteFlags PaletteFlags;
typedef enum ImageCodecFlags ImageCodecFlags; typedef enum ImageCodecFlags ImageCodecFlags;
typedef enum CombineMode CombineMode; typedef enum CombineMode CombineMode;
......
...@@ -22,6 +22,7 @@ ...@@ -22,6 +22,7 @@
#ifdef __cplusplus #ifdef __cplusplus
class GpGraphics {}; class GpGraphics {};
class GpPen {};
class GpBrush {}; class GpBrush {};
class GpHatch : public GpBrush {}; class GpHatch : public GpBrush {};
class GpSolidFill : public GpBrush {}; class GpSolidFill : public GpBrush {};
...@@ -92,6 +93,7 @@ typedef WrapMode GpWrapMode; ...@@ -92,6 +93,7 @@ typedef WrapMode GpWrapMode;
typedef Color GpColor; typedef Color GpColor;
typedef FlushIntention GpFlushIntention; typedef FlushIntention GpFlushIntention;
typedef CoordinateSpace GpCoordinateSpace; typedef CoordinateSpace GpCoordinateSpace;
typedef PenAlignment GpPenAlignment;
typedef PenType GpPenType; typedef PenType GpPenType;
#endif #endif
...@@ -199,6 +199,31 @@ public: ...@@ -199,6 +199,31 @@ public:
INT Height; INT Height;
}; };
class CharacterRange
{
public:
CharacterRange()
{
First = Length = 0;
}
CharacterRange(INT first, INT length)
{
First = first;
Length = length;
}
CharacterRange& operator=(const CharacterRange& rhs)
{
First = rhs.First;
Length = rhs.Length;
return *this;
}
public:
INT First;
INT Length;
};
#else /* end of c++ typedefs */ #else /* end of c++ typedefs */
typedef struct Point typedef struct Point
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment