source: trunk/src/user32/new/oslibgdi.h@ 330

Last change on this file since 330 was 325, checked in by sandervl, 26 years ago

Lots of changes

File size: 1.3 KB
Line 
1/* $Id: oslibgdi.h,v 1.1 1999-07-18 10:39:51 sandervl Exp $ */
2/*
3 * Window GDI wrapper functions for OS/2
4 *
5 *
6 * Copyright 1999 Sander van Leeuwen (sandervl@xs4all.nl)
7 *
8 *
9 * Project Odin Software License can be found in LICENSE.TXT
10 *
11 */
12#ifndef __OSLIBGDI_H__
13#define __OSLIBGDI_H__
14
15#ifdef OS2_INCLUDED
16#include "win32type.h"
17#endif
18
19typedef struct
20{
21 LONG xLeft;
22 LONG yBottom;
23 LONG xRight;
24 LONG yTop;
25} RECTLOS2, *PRECTLOS2;
26
27HDC OSLibWinBeginPaint(HWND hwnd, PVOID pRectl);
28BOOL OSLibWinEndPaint(HDC hdc);
29
30HDC OSLibWinGetPS(HWND hwnd);
31BOOL OSLibWinReleasePS(HDC hdc);
32
33ULONG MapOS2ToWin32Y(HWND hwndChild);
34ULONG MapOS2ToWin32Y(HWND hwndChild, ULONG y);
35ULONG MapOS2ToWin32Y(HWND hwndChild, ULONG cy, ULONG y);
36ULONG MapOS2ToWin32Y(PRECTLOS2 rectParent, PRECTLOS2 rectChild, ULONG y);
37ULONG MapOS2ToWin32Y(PRECTLOS2 rectParent, HWND hwndChild, ULONG y);
38ULONG MapOS2ToWin32Y(HWND hwndChild, PRECTLOS2 rectChild, ULONG y);
39BOOL MapOS2ToWin32Rectl(HWND hwndChild, PRECTLOS2 rectChild, PRECT rectWin32);
40BOOL MapOS2ToWin32Rectl(PRECTLOS2 rectParent, PRECTLOS2 rectChild, PRECT rectWin32);
41BOOL MapWin32ToOS2Rectl(HWND hwndChild, PRECTLOS2 rectChild, PRECT rectWin32);
42BOOL MapWin32ToOS2Rectl(PRECTLOS2 rectParent, PRECTLOS2 rectChild, PRECT rectWin32);
43
44#endif //__OSLIBGDI_H__
Note: See TracBrowser for help on using the repository browser.