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/win/gdiplusimaging.h

    r22082 r22121  
    111111    UINT Height;
    112112    INT Stride;
    113     Gdiplus::PixelFormat PixelFormat;
     113    // rousseau.201602132032
     114    // Because the namespaces are disabled, we need to fall back on the base
     115    // type of INT, because we cannot have typename and membername the same.
     116///    Gdiplus::PixelFormat PixelFormat;
     117    INT PixelFormat;
    114118    VOID* Scan0;
    115119    UINT_PTR Reserved;
Note: See TracChangeset for help on using the changeset viewer.