Changeset 12550
- Timestamp:
- Dec 4, 1999, 1:04:19 AM (25 years ago)
- Location:
- tags/trunk/src/user32
- Files:
-
- 3 edited
Legend:
- Unmodified
- Added
- Removed
-
TabularUnified tags/trunk/src/user32/dc.cpp ¶
r12435 r12550 1 /* $Id: dc.cpp,v 1.2 3 1999-11-26 17:06:06 cbratschiExp $ */1 /* $Id: dc.cpp,v 1.24 1999-12-04 00:04:19 sandervl Exp $ */ 2 2 3 3 /* … … 527 527 lpps->hdc = (HDC)hps; 528 528 529 if (wnd->isEraseBkgnd())529 // if (wnd->isEraseBkgnd()) 530 530 wnd->setEraseBkgnd (FALSE, !wnd->MsgEraseBackGround(lpps->hdc)); 531 531 wnd->setSupressErase (FALSE); … … 841 841 dprintf (("User32: UpdateWindow hwnd %x -> wnd %x", hwnd, wnd)); 842 842 843 #if 0 843 844 if (WinQueryUpdateRect (wnd->getOS2WindowHandle(), NULL)) 844 845 sendEraseBkgnd (wnd); 846 #endif 845 847 846 848 #if 1 … … 1272 1274 return 0; 1273 1275 } 1274 dprintf(("ScrollWindow %x %d %d \n", hwnd, dx, dy));1276 dprintf(("ScrollWindow %x %d %d %x %x", hwnd, dx, dy, pScroll, pClip)); 1275 1277 MapWin32ToOS2Rectl(window->getOS2WindowHandle(),window->getClientRect(), (PRECTLOS2)&clientRect); 1276 1278 //Rectangle could be relative to parent window, so fix this … … 1334 1336 } 1335 1337 1336 dprintf(("ScrollWindowEx %x %d %d \n", hwnd, dx, dy));1338 dprintf(("ScrollWindowEx %x %d %d %x %x", hwnd, dx, dy, pScroll, pClip)); 1337 1339 1338 1340 dy = revertDy (window, dy); -
TabularUnified tags/trunk/src/user32/pmwindow.cpp ¶
r12469 r12550 1 /* $Id: pmwindow.cpp,v 1.6 0 1999-11-30 12:39:14 dengertExp $ */1 /* $Id: pmwindow.cpp,v 1.61 1999-12-04 00:04:19 sandervl Exp $ */ 2 2 /* 3 3 * Win32 Window Managment Code for OS/2 … … 880 880 { 881 881 dprintf(("OS2: WM_ERASEBACKGROUND %x", win32wnd->getWindowHandle())); 882 #if 1 883 break; 884 #else 882 885 883 886 if (WinQueryUpdateRect (hwnd, NULL) && !win32wnd->isSupressErase()) { … … 887 890 888 891 break; 892 #endif 889 893 } 890 894 … … 893 897 dprintf(("OS2: WM_PAINT %x", hwnd)); 894 898 899 #if 0 895 900 if (WinQueryUpdateRect (hwnd, NULL)) { 896 901 if (!win32wnd->isSupressErase() && win32wnd->isEraseBkgnd()) { … … 901 906 902 907 win32wnd->setSupressErase (FALSE); 908 #endif 903 909 904 910 win32wnd->MsgPaint(0, 0); -
TabularUnified tags/trunk/src/user32/win32wbase.cpp ¶
r12534 r12550 1 /* $Id: win32wbase.cpp,v 1.10 2 1999-12-02 19:30:40sandervl Exp $ */1 /* $Id: win32wbase.cpp,v 1.103 1999-12-04 00:04:19 sandervl Exp $ */ 2 2 /* 3 3 * Win32 Window Base Class for OS/2 … … 1669 1669 return 1; 1670 1670 } 1671 case WM_PAINTICON: 1672 case WM_PAINT: 1673 { 1674 PAINTSTRUCT ps; 1675 HDC hdc = BeginPaint(getWindowHandle(), &ps ); 1676 if( hdc ) 1677 { 1678 if( (getStyle() & WS_MINIMIZE) && getWindowClass()->getIcon()) 1679 { 1680 int x = (rectWindow.right - rectWindow.left - GetSystemMetrics(SM_CXICON))/2; 1681 int y = (rectWindow.bottom - rectWindow.top - GetSystemMetrics(SM_CYICON))/2; 1682 dprintf(("Painting class icon: vis rect=(%i,%i - %i,%i)\n", ps.rcPaint.left, ps.rcPaint.top, ps.rcPaint.right, ps.rcPaint.bottom )); 1683 DrawIcon(hdc, x, y, getWindowClass()->getIcon() ); 1684 } 1685 EndPaint(getWindowHandle(), &ps ); 1686 } 1687 return 0; 1688 } 1689 1671 1690 case WM_GETDLGCODE: 1672 1691 return 0; … … 2612 2631 { 2613 2632 OSLibWinQueryWindowProcess(child->getOS2WindowHandle(), &pid, &tid); 2614 2633 2615 2634 if(dwThreadId == tid) { 2616 2635 dprintf2(("EnumThreadWindows: Found Window %x", child->getWindowHandle()));
Note:
See TracChangeset
for help on using the changeset viewer.