Ignore:
Timestamp:
Feb 14, 2016, 2:28:41 PM (10 years ago)
Author:
rousseau
Message:

Odin modifications needed for 'gdiplus' [odin]

Modifications:
o dcdata.h

Use 'typedef' for the enum so its more compatible with plain C.

o gdiplus.h

Disabling the namespaces is a quick-hack to get 'gdiplus.dll' to
build. A more proper fix would probably be using '-xc' for g++
when building the 'gdiplus' module.

o gdiplusflat.h

Temporarily remove the majority of prototypes so yet undefined types
do not get introduced already.

o gdiplusimaging.h

Possibly revert this mod after it is clear how to properly handle the
namespaces in 'gdiplus.h'.

o shtypes.h

Includes 'wtypes.h' which defines 'PROPID'.

o windef.h

Not sure why these 'IN','OUT','...' definitions only got defined when
WINE was *not* defined.

o winnt.h

Park Wine macros here for now. Proper include ordering needs to be
revisited anyway.

Note:
The headers for GDI+ headers were already added in rev. #22082 to
satisfy building 'swt.dll'. They also came from the wine-repo.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • branches/swt/include/dcdata.h

    r10343 r22121  
    1616#define DC_FLAG_POLYGON_PRINTER_HACK            2
    1717
    18 enum PS_Type { MICRO_CACHED, MICRO, NORMAL };
    19 enum HDC_Type{ TYPE_0, TYPE_1, TYPE_2, TYPE_3, TYPE_4 };
     18typedef enum PS_Type { MICRO_CACHED, MICRO, NORMAL } PS_Type;
     19typedef enum HDC_Type{ TYPE_0, TYPE_1, TYPE_2, TYPE_3, TYPE_4 } HDC_Type;
    2020
    2121typedef struct _tagXFORM
     
    9797   COLORREF    BkColor;
    9898   COLORREF    TextColor;
    99    ULONG       BkColor_PM; 
     99   ULONG       BkColor_PM;
    100100   ULONG       TextColor_PM;
    101101
Note: See TracChangeset for help on using the changeset viewer.