ViewVC Help
View File | Revision Log | View Changeset | Root Listing
root/Oni2/Daodan/src/Daodan_Win32.c
(Generate patch)

Comparing Daodan/src/Daodan_Win32.c (file contents):
Revision 326 by rossy, Thu May 28 10:33:59 2009 UTC vs.
Revision 476 by gumby, Tue Nov 3 10:38:47 2009 UTC

# Line 34 | Line 34 | short ONICALL DDrPlatform_Initialize(ONt
34          Rect.top = (GetSystemMetrics(SM_CYSCREEN) / 2) - (Height / 2);
35          Rect.right = Rect.left + Width;
36          Rect.bottom = Rect.top + Height;
37 <        AdjustWindowRect(&Rect, WS_MAXIMIZEBOX | WS_MINIMIZEBOX | WS_POPUP, FALSE);
37 >        AdjustWindowRect(&Rect, WS_MAXIMIZEBOX | WS_MINIMIZEBOX | WS_POPUP | WS_TILEDWINDOW , FALSE);
38  
39 <        PlatformData->Window = CreateWindowEx(0, "ONI ", "ONI ", WS_MAXIMIZEBOX | WS_MINIMIZEBOX | WS_POPUP, Rect.left, Rect.top, Rect.right - Rect.left, Rect.bottom - Rect.top, NULL, NULL, PlatformData->Instance, NULL);
39 >        PlatformData->Window = CreateWindowEx(0, "ONI ", "ONI ", WS_MAXIMIZEBOX | WS_MINIMIZEBOX | WS_POPUP | WS_TILEDWINDOW , Rect.left, Rect.top, Rect.right - Rect.left, Rect.bottom - Rect.top, NULL, NULL, PlatformData->Instance, NULL);
40          ShowWindow(PlatformData->Window, SW_SHOWNORMAL);
41          UpdateWindow(PlatformData->Window);
42  

Diff Legend

Removed lines
+ Added lines
< Changed lines (old)
> Changed lines (new)