Changeset 340 for trunk/src/user32/new/oslibgdi.h
- Timestamp:
- Jul 19, 1999, 8:40:44 PM (26 years ago)
- File:
-
- 1 edited
-
trunk/src/user32/new/oslibgdi.h (modified) (4 diffs)
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/user32/new/oslibgdi.h
r325 r340 1 /* $Id: oslibgdi.h,v 1. 1 1999-07-18 10:39:51sandervl Exp $ */1 /* $Id: oslibgdi.h,v 1.2 1999-07-19 18:40:43 sandervl Exp $ */ 2 2 /* 3 3 * Window GDI wrapper functions for OS/2 … … 16 16 #include "win32type.h" 17 17 #endif 18 #include <win32wnd.h> 18 19 19 20 typedef struct … … 25 26 } RECTLOS2, *PRECTLOS2; 26 27 27 HDC OSLibWinBeginPaint(HWND hwnd, PVOID pRectl); 28 typedef struct 29 { 30 LONG x; 31 LONG y; 32 } OSLIBPOINT; 33 34 HDC OSLibWinBeginPaint(HWND hwnd, RECT *pRectl); 28 35 BOOL OSLibWinEndPaint(HDC hdc); 29 36 … … 31 38 BOOL OSLibWinReleasePS(HDC hdc); 32 39 33 ULONG MapOS2ToWin32Y(HWND hwndChild); 34 ULONG MapOS2ToWin32Y(HWND hwndChild, ULONG y); 35 ULONG MapOS2ToWin32Y(HWND hwndChild, ULONG cy, ULONG y); 36 ULONG MapOS2ToWin32Y(PRECTLOS2 rectParent, PRECTLOS2 rectChild, ULONG y); 37 ULONG MapOS2ToWin32Y(PRECTLOS2 rectParent, HWND hwndChild, ULONG y); 38 ULONG MapOS2ToWin32Y(HWND hwndChild, PRECTLOS2 rectChild, ULONG y); 39 BOOL MapOS2ToWin32Rectl(HWND hwndChild, PRECTLOS2 rectChild, PRECT rectWin32); 40 BOOL MapOS2ToWin32Rectl(PRECTLOS2 rectParent, PRECTLOS2 rectChild, PRECT rectWin32); 41 BOOL MapWin32ToOS2Rectl(HWND hwndChild, PRECTLOS2 rectChild, PRECT rectWin32); 42 BOOL MapWin32ToOS2Rectl(PRECTLOS2 rectParent, PRECTLOS2 rectChild, PRECT rectWin32); 40 //****************************************************************************** 41 //Map win32 y coordinate (in window coordinates) to OS/2 y coord. (in window coordinates) 42 //****************************************************************************** 43 inline ULONG MapOS2ToWin32Y(Win32Window *window, ULONG y) 44 { 45 return window->getWindowHeight() - y; 46 } 47 48 ULONG MapOS2ToWin32Y(HWND hwndParent, ULONG cy, ULONG y); 49 BOOL MapOS2ToWin32Point(HWND hwndParent, HWND hwndChild, OSLIBPOINT *point); 50 51 BOOL MapOS2ToWin32Rectl(PRECTLOS2 rectOS2, PRECT rectWin32); 52 BOOL MapWin32ToOS2Rectl(PRECT rectWin32, PRECTLOS2 rectOS2); 43 53 44 54 #endif //__OSLIBGDI_H__
Note:
See TracChangeset
for help on using the changeset viewer.
