1 /* -*- Mode: C++; tab-width: 4; indent-tabs-mode: nil; c-basic-offset: 4 -*- */
3 * This file is part of the LibreOffice project.
5 * This Source Code Form is subject to the terms of the Mozilla Public
6 * License, v. 2.0. If a copy of the MPL was not distributed with this
7 * file, You can obtain one at http://mozilla.org/MPL/2.0/.
9 * This file incorporates work covered by the following license notice:
11 * Licensed to the Apache Software Foundation (ASF) under one or more
12 * contributor license agreements. See the NOTICE file distributed
13 * with this work for additional information regarding copyright
14 * ownership. The ASF licenses this file to you under the Apache
15 * License, Version 2.0 (the "License"); you may not use this file
16 * except in compliance with the License. You may obtain a copy of
17 * the License at http://www.apache.org/licenses/LICENSE-2.0 .
20 /* nicht geschuetz, muss als gegenstueck zu prewin.h includet werden */
35 #undef GradientStyle_RECT
37 /* Hilfe-Ids umbenennen */
38 #define WIN_HELP_INDEX 0x0003
39 #define WIN_HELP_HELPONHELP 0x0004
41 #undef HELP_HELPONHELP
43 #define WIN_MOUSE_MOVED 0x0001
47 #define WIN_WB_RIGHT 1
54 #define WIN_GetObject GetObjectW
56 #define WIN_GetObject GetObjectA
59 #define WIN_GetObject GetObject
65 #define WIN_SetPrinter SetPrinterW
67 #define WIN_SetPrinter SetPrinterA
70 #define WIN_SetPrinter SetPrinter
76 #define WIN_GetPrinter GetPrinterW
78 #define WIN_GetPrinter GetPrinterA
81 #define WIN_GetPrinter GetPrinter
87 #define WIN_DrawText DrawTextW
89 #define WIN_DrawText DrawTextA
92 #define WIN_DrawText DrawText
98 #define WIN_mciSetCommand mciSetCommandW
100 #define WIN_mciSetCommand mciSetCommandA
103 #define mciSetCommand mciSetCommand
109 #define WIN_SetPort SetPortW
111 #define WIN_SetPort SetPortA
114 #define WIN_SetPort SetPort
120 #define WIN_CopyFile CopyFileW
122 #define WIN_CopyFile CopyFileA
125 #define WIN_CopyFile CopyFile
132 #define WIN_GetUserName GetUserNameW
134 #define WIN_GetUserName GetUserNameA
137 #define WIN_GetUserName GetUserName
143 #define WIN_GetClassName GetClassNameW
145 #define WIN_GetClassName GetClassNameA
148 #define WIN_GetClassName GetClassName
154 #define WIN_GetCharWidth GetCharWidthW
156 #define WIN_GetCharWidth GetCharWidthA
159 #define WIN_GetCharWidth GetCharWidth
165 #define WIN_GetMetaFile GetMetaFileW
167 #define WIN_GetMetaFile GetMetaFileA
170 #define WIN_GetMetaFile GetMetaFile
173 #ifdef GetNumberFormat
174 #undef GetNumberFormat
176 #define WIN_GetNumberFormat GetNumberFormatW
178 #define WIN_GetNumberFormat GetNumberFormatA
181 #define WIN_GetNumberFormat GetNumberFormat
184 #ifdef GetGlyphOutline
185 #undef GetGlyphOutline
187 #define WIN_GetGlyphOutline GetGlyphOutlineW
189 #define WIN_GetGlyphOutline GetGlyphOutlineA
192 #define WIN_GetGlyphOutline GetGlyphOutline
195 #ifdef GetKerningPairs
196 #undef GetKerningPairs
198 #define WIN_GetKerningPairs GetKerningPairsW
200 #define WIN_GetKerningPairs GetKerningPairsA
203 #define WIN_GetKerningPairs GetKerningPairs
209 #define WIN_FindWindow FindWindowW
211 #define WIN_FindWindow FindWindowA
214 #define WIN_FindWindow FindWindow
217 // keine Yield-Definition
220 /* new StretchBlt() Modes (simpler names) */
221 #ifndef STRETCH_ANDSCANS
222 #define STRETCH_ANDSCANS 1
224 #ifndef STRETCH_ORSCANS
225 #define STRETCH_ORSCANS 2
227 #ifndef STRETCH_DELETESCANS
228 #define STRETCH_DELETESCANS 3
234 BOOL WINAPI
WIN_Rectangle( HDC hDC
, int X1
, int Y1
, int X2
, int Y2
);
235 BOOL WINAPI
WIN_Polygon( HDC hDC
, CONST POINT
* ppt
, int ncnt
);
236 BOOL WINAPI
WIN_PolyPolygon( HDC hDC
, CONST POINT
* ppt
, LPINT npcnt
, int ncnt
);
240 // svwin.h nicht mehr includen
243 /* vim:set shiftwidth=4 softtabstop=4 expandtab: */