- Timestamp:
- Dec 4, 2002, 4:21:42 PM (23 years ago)
- Location:
- trunk/src/ddraw
- Files:
-
- 4 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/ddraw/OS2UTIL.CPP
r8116 r9462 1 /* $Id: OS2UTIL.CPP,v 1.1 3 2002-03-22 15:55:00 sandervl Exp $ */1 /* $Id: OS2UTIL.CPP,v 1.14 2002-12-04 15:21:40 sandervl Exp $ */ 2 2 3 3 /* … … 49 49 //****************************************************************************** 50 50 //****************************************************************************** 51 BOOL OSLibPostMessage(HWND hwnd, ULONG msg, ULONG mp1, ULONG mp2) 52 { 53 return WinPostMsg(hwnd, msg, (MPARAM)mp1, (MPARAM)mp2); 54 } 55 //****************************************************************************** 56 //****************************************************************************** 51 57 52 58 extern "C" { … … 63 69 64 70 } 65 71 //****************************************************************************** 72 //****************************************************************************** 66 73 int InitIO() 67 74 { … … 96 103 return 0; 97 104 } 98 105 //****************************************************************************** 106 //****************************************************************************** -
trunk/src/ddraw/OS2UTIL.H
r5326 r9462 1 /* $Id: OS2UTIL.H,v 1. 6 2001-03-18 21:44:43 mikeExp $ */1 /* $Id: OS2UTIL.H,v 1.7 2002-12-04 15:21:40 sandervl Exp $ */ 2 2 3 3 /* … … 15 15 void OS2FreeMem(char *lpMem); 16 16 void OS2MaximizeWindow(HWND hwndClient); 17 void InverseDC(HDC hdc, LONG lHeight); 18 int InitIO(); 17 BOOL OSLibPostMessage(HWND hwnd, ULONG msg, ULONG mp1, ULONG mp2); 18 void InverseDC(HDC hdc, LONG lHeight); 19 int InitIO(); 20 19 21 #endif -
trunk/src/ddraw/ddraw2d.cpp
r9459 r9462 1 /* $Id: ddraw2d.cpp,v 1. 1 2002-12-04 10:34:59sandervl Exp $ */1 /* $Id: ddraw2d.cpp,v 1.2 2002-12-04 15:21:41 sandervl Exp $ */ 2 2 3 3 /* … … 20 20 #include <string.h> 21 21 #include <memory.h> 22 #include <winuser32.h> 22 23 23 24 #define INITGUID … … 1893 1894 me->hwndClient = hwndClient; 1894 1895 if(hwndClient) { 1895 //TODO: Can this be done here?? 1896 //NOTE: This messes up some DDraw apps, so don't touch the window 1896 //Changing the size of the win32 window in SetCooperativeLevel can 1897 //fail if this happens during WM_ADJUSTWINDOWPOS 1898 //NOTE: This is not a good solution, but a proper fix is more difficult 1899 // with the current window mess 1900 OSLibPostMessage(Win32ToOS2Handle(me->hwndClient), WIN32APP_DDRAWFULLSCREEN, me->screenwidth, me->screenheight); 1897 1901 // SetWindowPos(me->hwndClient, HWND_TOP, 0, 0, me->screenwidth, me->screenheight,0); 1898 1902 // ShowWindow(hwndClient, SW_SHOW); -
trunk/src/ddraw/surface.cpp
r9459 r9462 1 /* $Id: surface.cpp,v 1. 1 2002-12-04 10:35:02 sandervl Exp $ */1 /* $Id: surface.cpp,v 1.2 2002-12-04 15:21:42 sandervl Exp $ */ 2 2 3 3 /* … … 590 590 591 591 #if 0 592 if(lpDraw->GetCooperativeLevel() & DDSCL_FULLSCREEN)593 {594 SetWindowPos(lpDraw->GetClientWindow(), HWND_TOP, 0, 0, DDSurfaceDesc.dwWidth, DDSurfaceDesc.dwHeight,0);595 }596 597 592 //NOTE: This isn't working at all (interferes with mouse messages for application 598 593 // window)
Note:
See TracChangeset
for help on using the changeset viewer.