36 #define ON_WIN_USE_GDIPLUS_COORDS 1 42 #ifdef ON_WIN_USE_GDIPLUS_COORDS 48 typedef POINT GDIPoint;
58 typedef int32 SysCoord;
59 typedef SysCoord GSysCoord;
60 typedef SysCoord WSysCoord;
63 typedef TCHAR SysChar;
65 typedef unsigned char SysChar;
67 typedef uint16 SysKeyCode;
68 typedef HWND SysWindow;
69 typedef HWND SysControl;
70 typedef HWND SysDialog;
72 typedef HRGN SysWireframe;
74 typedef MSG* SysEvent;
75 typedef HANDLE SysHandle;
77 typedef uint32 UserError;
78 typedef int32 CursorID;
87 typedef HANDLE ThreadID;
89 typedef uint32 OSType;
91 typedef uint32 RsrcType;
92 typedef uint32 RsrcID;
99 typedef DWORD PlatformError;
101 typedef struct FileInfo SysFileInfo;
103 typedef HDC SysBitmap;
104 typedef SysBitmap SysBitmap_NEW;
105 typedef SysPort SysPort_NEW;
108 typedef int32 SysSocket;
110 typedef HINSTANCE SysConnection;
114 SysSize(SysCoord h, SysCoord w ) {cx = h; cy = w;}
115 SysSize(
const GDIPoint& pt) {cx = pt.x; cy = pt.y;}
116 SysSize(
const GDISize& sz) {cx = sz.cx; cy = sz.cy;}
118 SysSize& operator=(
const SysPoint& pt) {cx = pt.x; cy = pt.y;
return *
this;}
119 SysSize& operator=(
const GDISize& sz) {cx = sz.cx; cy = sz.cy;
return *
this;}
121 operator const GDISize & ()
const {
return *
this; }
125 #define kDefaultFPUExceptions _CW_DEFAULT 131 #endif // __WSYSTYPE__