Changeset 5164 for trunk/src/user32/dc.cpp
- Timestamp:
- Feb 18, 2001, 3:18:39 PM (25 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/user32/dc.cpp
r5152 r5164 1 /* $Id: dc.cpp,v 1.8 5 2001-02-17 19:25:08 sandervl Exp $ */1 /* $Id: dc.cpp,v 1.86 2001-02-18 14:18:38 sandervl Exp $ */ 2 2 3 3 /* … … 348 348 pHps->isClient = FALSE; 349 349 350 #ifdef DEBUG 351 GreGetDCOrigin(pHps->hps, &point); 352 #endif 350 dprintfOrigin(pHps->hps); 353 351 354 352 if(pHps->isClientArea) … … 456 454 //****************************************************************************** 457 455 //****************************************************************************** 456 void selectClientArea(Win32BaseWindow *wnd, HDC hdc) 457 { 458 pDCData pHps = (pDCData)GpiQueryDCData (wnd->getOwnDC()); 459 460 if (pHps != NULLHANDLE) 461 selectClientArea(wnd, pHps); 462 } 463 //****************************************************************************** 464 //****************************************************************************** 458 465 LONG clientHeight(Win32BaseWindow *wnd, HWND hwnd, pDCData pHps) 459 466 { … … 765 772 else lpps->fErase = TRUE; 766 773 767 #ifdef DEBUG 768 POINTL point; 769 GreGetDCOrigin(pHps->hps, &point); 770 dprintf(("dc origin (%d,%d)", point.x, point.y)); 771 #endif 774 dprintfOrigin(pHps->hps); 772 775 773 776 lpps->hdc = (HDC)pHps->hps; … … 809 812 if (pHps && (pHps->hdcType == TYPE_3)) 810 813 { 814 dprintfOrigin(pHps->hps); 815 811 816 GpiSetClipRegion(pHps->hps, wnd->GetClipRegion(), &hrgnOld); 812 817 wnd->SetClipRegion(0); … … 1791 1796 //****************************************************************************** 1792 1797 //****************************************************************************** 1798 #ifdef DEBUG 1799 void dprintfOrigin(HDC hdc) 1800 { 1801 POINTL point; 1802 1803 pDCData pHps = (pDCData)GpiQueryDCData((HPS)hdc); 1804 if(!pHps) 1805 { 1806 return; 1807 } 1808 1809 GreGetDCOrigin(pHps->hps, &point); 1810 dprintf(("HDC %x origin (%d,%d) org (%d,%d)", hdc, point.x, point.y, pHps->ptlOrigin.x, pHps->ptlOrigin.y)); 1811 } 1812 #endif 1813 //****************************************************************************** 1814 //******************************************************************************
Note:
See TracChangeset
for help on using the changeset viewer.