Re: GDI+: headers and one test

2007-06-01 Thread Steven Edwards
On 5/31/07, Francois Gouget <[EMAIL PROTECTED]> wrote: The standard format for Wine headers is __WINE_HEADERNAME_H, unless we need to keep the original macro name for compatibility with the PSDK. But here you're following neither conventions (the other headers would need to be rechecked but they

Re: GDI+: headers and one test

2007-05-31 Thread Chris Robinson
On Thursday 31 May 2007 06:59:09 am Francois Gouget wrote: > --- /dev/null > +++ b/include/GdiplusTypes.h > [...] > +typedef enum { > [...] > +} Status; > > Hmm, this is not the same as the PSDK. The PSDK only defines 'enum > Status { ... }' which, in theory, should only allow one to use 'enum > St

Re: GDI+: headers and one test

2007-05-31 Thread Alexandre Julliard
Francois Gouget <[EMAIL PROTECTED]> writes: > Hmm, this is not the same as the PSDK. The PSDK only defines 'enum > Status { ... }' which, in theory, should only allow one to use 'enum > Status' and not 'Status'. Yet the PSDK headers seem to make use of > 'Status'. This might be different in C++

Re: GDI+: headers and one test

2007-05-31 Thread Francois Gouget
On Tue, 29 May 2007, Evan Stade wrote: [...] > include/Gdiplus.h| 10 + > include/GdiplusEnums.h | 39 ++ > include/GdiplusFlat.h| 23 ++ > include/GdiplusGpStubs.h | 10 + > include/GdiplusInit.h| 26 ++

Re: headers and one test

2007-05-29 Thread Dmitry Timoshkov
"Evan Stade" <[EMAIL PROTECTED]> wrote: +WINE_DEFAULT_DEBUG_CHANNEL(gdip); + +COLORREF ARGB2COLORREF(ARGB color) +{ If this is a module local function it should be static. +GpStatus WINGDIPAPI GdipCreatePen1(ARGB color, FLOAT width, GpUnit unit, +GpPen **pen) +{ +LOGBRUSH lb; +G

GDI+: headers and one test

2007-05-29 Thread Evan Stade
Changelog: *Added public GDI+ headers in include/ *Added private GDI+ headers in dlls/gdiplus *Added small implementation of GDI+ pens in dlls/gdiplus/pen.c *Added (first) GDI+ test dlls/gdiplus/Makefile.in |3 + dlls/gdiplus/gdip_defines.h | 43 +++ dlls/gdiplus/