1 /* -*- Mode: C++; tab-width: 4; indent-tabs-mode: nil; c-basic-offset: 4 -*- */
2 /*************************************************************************
4 * DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
6 * Copyright 2000, 2010 Oracle and/or its affiliates.
8 * OpenOffice.org - a multi-platform office productivity suite
10 * This file is part of OpenOffice.org.
12 * OpenOffice.org is free software: you can redistribute it and/or modify
13 * it under the terms of the GNU Lesser General Public License version 3
14 * only, as published by the Free Software Foundation.
16 * OpenOffice.org is distributed in the hope that it will be useful,
17 * but WITHOUT ANY WARRANTY; without even the implied warranty of
18 * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
19 * GNU Lesser General Public License version 3 for more details
20 * (a copy is included in the LICENSE file that accompanied this code).
22 * You should have received a copy of the GNU Lesser General Public License
23 * version 3 along with OpenOffice.org. If not, see
24 * <http://www.openoffice.org/license.html>
25 * for a copy of the LGPLv3 License.
27 ************************************************************************/
29 /* nicht geschuetz, muss als gegenstueck zu prewin.h includet werden */
44 #undef GradientStyle_RECT
46 /* Hilfe-Ids umbenennen */
47 #define WIN_HELP_INDEX 0x0003
48 #define WIN_HELP_HELPONHELP 0x0004
50 #undef HELP_HELPONHELP
52 #define WIN_MOUSE_MOVED 0x0001
56 #define WIN_WB_RIGHT 1
63 #define WIN_GetObject GetObjectW
65 #define WIN_GetObject GetObjectA
68 #define WIN_GetObject GetObject
74 #define WIN_SetPrinter SetPrinterW
76 #define WIN_SetPrinter SetPrinterA
79 #define WIN_SetPrinter SetPrinter
85 #define WIN_GetPrinter GetPrinterW
87 #define WIN_GetPrinter GetPrinterA
90 #define WIN_GetPrinter GetPrinter
96 #define WIN_DrawText DrawTextW
98 #define WIN_DrawText DrawTextA
101 #define WIN_DrawText DrawText
107 #define WIN_mciSetCommand mciSetCommandW
109 #define WIN_mciSetCommand mciSetCommandA
112 #define mciSetCommand mciSetCommand
118 #define WIN_SetPort SetPortW
120 #define WIN_SetPort SetPortA
123 #define WIN_SetPort SetPort
129 #define WIN_CopyFile CopyFileW
131 #define WIN_CopyFile CopyFileA
134 #define WIN_CopyFile CopyFile
141 #define WIN_GetUserName GetUserNameW
143 #define WIN_GetUserName GetUserNameA
146 #define WIN_GetUserName GetUserName
152 #define WIN_GetClassName GetClassNameW
154 #define WIN_GetClassName GetClassNameA
157 #define WIN_GetClassName GetClassName
163 #define WIN_GetCharWidth GetCharWidthW
165 #define WIN_GetCharWidth GetCharWidthA
168 #define WIN_GetCharWidth GetCharWidth
174 #define WIN_GetMetaFile GetMetaFileW
176 #define WIN_GetMetaFile GetMetaFileA
179 #define WIN_GetMetaFile GetMetaFile
182 #ifdef GetNumberFormat
183 #undef GetNumberFormat
185 #define WIN_GetNumberFormat GetNumberFormatW
187 #define WIN_GetNumberFormat GetNumberFormatA
190 #define WIN_GetNumberFormat GetNumberFormat
193 #ifdef GetGlyphOutline
194 #undef GetGlyphOutline
196 #define WIN_GetGlyphOutline GetGlyphOutlineW
198 #define WIN_GetGlyphOutline GetGlyphOutlineA
201 #define WIN_GetGlyphOutline GetGlyphOutline
204 #ifdef GetKerningPairs
205 #undef GetKerningPairs
207 #define WIN_GetKerningPairs GetKerningPairsW
209 #define WIN_GetKerningPairs GetKerningPairsA
212 #define WIN_GetKerningPairs GetKerningPairs
218 #define WIN_FindWindow FindWindowW
220 #define WIN_FindWindow FindWindowA
223 #define WIN_FindWindow FindWindow
226 // keine Yield-Definition
229 /* new StretchBlt() Modes (simpler names) */
230 #ifndef STRETCH_ANDSCANS
231 #define STRETCH_ANDSCANS 1
233 #ifndef STRETCH_ORSCANS
234 #define STRETCH_ORSCANS 2
236 #ifndef STRETCH_DELETESCANS
237 #define STRETCH_DELETESCANS 3
243 BOOL WINAPI
WIN_Rectangle( HDC hDC
, int X1
, int Y1
, int X2
, int Y2
);
244 BOOL WINAPI
WIN_Polygon( HDC hDC
, CONST POINT
* ppt
, int ncnt
);
245 BOOL WINAPI
WIN_PolyPolygon( HDC hDC
, CONST POINT
* ppt
, LPINT npcnt
, int ncnt
);
249 // svwin.h nicht mehr includen
252 /* vim:set shiftwidth=4 softtabstop=4 expandtab: */