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 */
29 #undef GradientStyle_RECT
31 /* Hilfe-Ids umbenennen */
32 #define WIN_HELP_INDEX 0x0003
33 #define WIN_HELP_HELPONHELP 0x0004
35 #undef HELP_HELPONHELP
37 #define WIN_MOUSE_MOVED 0x0001
41 #define WIN_WB_RIGHT 1
48 #define WIN_GetObject GetObjectW
50 #define WIN_GetObject GetObjectA
53 #define WIN_GetObject GetObject
59 #define WIN_SetPrinter SetPrinterW
61 #define WIN_SetPrinter SetPrinterA
64 #define WIN_SetPrinter SetPrinter
70 #define WIN_GetPrinter GetPrinterW
72 #define WIN_GetPrinter GetPrinterA
75 #define WIN_GetPrinter GetPrinter
81 #define WIN_DrawText DrawTextW
83 #define WIN_DrawText DrawTextA
86 #define WIN_DrawText DrawText
92 #define WIN_mciSetCommand mciSetCommandW
94 #define WIN_mciSetCommand mciSetCommandA
97 #define mciSetCommand mciSetCommand
103 #define WIN_SetPort SetPortW
105 #define WIN_SetPort SetPortA
108 #define WIN_SetPort SetPort
114 #define WIN_CopyFile CopyFileW
116 #define WIN_CopyFile CopyFileA
119 #define WIN_CopyFile CopyFile
126 #define WIN_GetUserName GetUserNameW
128 #define WIN_GetUserName GetUserNameA
131 #define WIN_GetUserName GetUserName
137 #define WIN_GetClassName GetClassNameW
139 #define WIN_GetClassName GetClassNameA
142 #define WIN_GetClassName GetClassName
148 #define WIN_GetCharWidth GetCharWidthW
150 #define WIN_GetCharWidth GetCharWidthA
153 #define WIN_GetCharWidth GetCharWidth
159 #define WIN_GetMetaFile GetMetaFileW
161 #define WIN_GetMetaFile GetMetaFileA
164 #define WIN_GetMetaFile GetMetaFile
167 #ifdef GetNumberFormat
168 #undef GetNumberFormat
170 #define WIN_GetNumberFormat GetNumberFormatW
172 #define WIN_GetNumberFormat GetNumberFormatA
175 #define WIN_GetNumberFormat GetNumberFormat
178 #ifdef GetGlyphOutline
179 #undef GetGlyphOutline
181 #define WIN_GetGlyphOutline GetGlyphOutlineW
183 #define WIN_GetGlyphOutline GetGlyphOutlineA
186 #define WIN_GetGlyphOutline GetGlyphOutline
189 #ifdef GetKerningPairs
190 #undef GetKerningPairs
192 #define WIN_GetKerningPairs GetKerningPairsW
194 #define WIN_GetKerningPairs GetKerningPairsA
197 #define WIN_GetKerningPairs GetKerningPairs
203 #define WIN_FindWindow FindWindowW
205 #define WIN_FindWindow FindWindowA
208 #define WIN_FindWindow FindWindow
211 // keine Yield-Definition
214 /* new StretchBlt() Modes (simpler names) */
215 #ifndef STRETCH_ANDSCANS
216 #define STRETCH_ANDSCANS 1
218 #ifndef STRETCH_ORSCANS
219 #define STRETCH_ORSCANS 2
221 #ifndef STRETCH_DELETESCANS
222 #define STRETCH_DELETESCANS 3
227 BOOL WINAPI
WIN_Rectangle( HDC hDC
, int X1
, int Y1
, int X2
, int Y2
);
228 BOOL WINAPI
WIN_Polygon( HDC hDC
, CONST POINT
* ppt
, int ncnt
);
229 BOOL WINAPI
WIN_PolyPolygon( HDC hDC
, CONST POINT
* ppt
, LPINT npcnt
, int ncnt
);
232 /* vim:set shiftwidth=4 softtabstop=4 expandtab: */