Changeset 4463 for trunk/src/user32/dc.cpp
- Timestamp:
- Oct 9, 2000, 7:26:55 PM (25 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/user32/dc.cpp
r4455 r4463 1 /* $Id: dc.cpp,v 1.7 3 2000-10-08 14:09:40sandervl Exp $ */1 /* $Id: dc.cpp,v 1.74 2000-10-09 17:26:47 sandervl Exp $ */ 2 2 3 3 /* … … 330 330 pHps->isClient = FALSE; 331 331 332 #ifdef DEBUG 332 333 GreGetDCOrigin(pHps->hps, &point); 334 #endif 333 335 334 336 if(pHps->isClientArea) … … 399 401 rcl.yTop += rcltemp.yBottom; 400 402 rcl.yBottom += rcltemp.yBottom; 401 } 402 pHps->ptlOrigin.x = rcltemp.xLeft; 403 pHps->ptlOrigin.y = rcltemp.yBottom; 403 404 pHps->ptlOrigin.x = rcltemp.xLeft; 405 pHps->ptlOrigin.y = rcltemp.yBottom; 406 } 404 407 405 408 dprintf2(("selectClientArea %x: (%d,%d) -> (%d,%d)", window->getWindowHandle(), rcltemp.xLeft, rcltemp.yBottom, rcl.xLeft, rcl.yBottom)); … … 616 619 dprintf (("USER32: WARNING: WinQueryUpdateRect failed (error or no update rectangle)!!")); 617 620 618 selectClientArea(wnd, pHps);619 620 621 HRGN hrgnClip = GpiCreateRegion(pHps->hps, 1, &rectl); 621 622 GpiSetClipRegion(pHps->hps, hrgnClip, &hrgnOldClip); 623 624 selectClientArea(wnd, pHps); 622 625 623 626 //save old clip region (restored for CS_OWNDC windows in EndPaint) … … 669 672 WinShowTrackRect(wnd->getOS2WindowHandle(), FALSE); 670 673 674 #ifdef DEBUG 675 POINTL point; 676 GreGetDCOrigin(pHps->hps, &point); 677 dprintf(("dc origin (%d,%d)", point.x, point.y)); 678 #endif 679 671 680 if(wnd->needsEraseBkgnd() && lComplexity != RGN_NULL) { 672 681 wnd->setEraseBkgnd(FALSE); … … 674 683 } 675 684 else lpps->fErase = TRUE; 685 686 #ifdef DEBUG 687 GreGetDCOrigin(pHps->hps, &point); 688 dprintf(("dc origin (%d,%d)", point.x, point.y)); 689 #endif 676 690 677 691 lpps->hdc = (HDC)pHps->hps;
Note:
See TracChangeset
for help on using the changeset viewer.