- Timestamp:
- Nov 10, 1999, 3:15:23 PM (26 years ago)
- Location:
- trunk/src/gdi32
- Files:
-
- 4 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/gdi32/dibsect.cpp
r1533 r1686 1 /* $Id: dibsect.cpp,v 1. 6 1999-10-31 21:38:15 achimhaExp $ */1 /* $Id: dibsect.cpp,v 1.7 1999-11-10 14:15:23 sandervl Exp $ */ 2 2 3 3 /* … … 148 148 //****************************************************************************** 149 149 #if 1 150 BOOL DIBSection::BitBlt(HDC hdcDest, HWND hwndDest,int nXdest, int nYdest, int nWidth,150 BOOL DIBSection::BitBlt(HDC hdcDest, int nXdest, int nYdest, int nWidth, 151 151 int nHeight, int nXsrc, int nYsrc, DWORD Rop) 152 152 { 153 HWND hwndDest = WinWindowFromDC(hdcDest); 153 154 HPS hps = (HPS)hdcDest; 154 155 POINTL point[4]; 155 156 LONG rc; 157 158 dprintf(("DIBSection::BitBlt %X %x (%d,%d) to (%d,%d) (%d,%d) rop %x\n", hdcDest, hwndDest, nXdest, nYdest, nWidth, nHeight, nXsrc, nYsrc, Rop)); 156 159 157 160 if(hwndDest != 0) { … … 179 182 else point[3].y = nYsrc + nHeight; 180 183 184 #if 0 181 185 if(fFlip & FLIP_VERT) { 182 186 ULONG y; … … 192 196 point[1].x = x; 193 197 } 198 #endif 194 199 195 200 rc = GpiDrawBits(hps, bmpBits, pOS2bmp, 4, &point[0], ROP_SRCCOPY, BBO_OR); -
trunk/src/gdi32/dibsect.h
r1533 r1686 1 /* $Id: dibsect.h,v 1. 4 1999-10-31 21:38:16 achimhaExp $ */1 /* $Id: dibsect.h,v 1.5 1999-11-10 14:15:23 sandervl Exp $ */ 2 2 3 3 /* … … 70 70 void UnSelectDIBObject() { this->hdc = 0; }; 71 71 72 BOOL BitBlt(HDC hdcDest, HWND hwndDest,int nXdest, int nYDest,72 BOOL BitBlt(HDC hdcDest, int nXdest, int nYDest, 73 73 int nWidth, int nHeight, int nXsrc, int nYSrc, DWORD Rop); 74 74 -
trunk/src/gdi32/gdi32.cpp
r1666 r1686 1 /* $Id: gdi32.cpp,v 1.1 4 1999-11-09 17:06:14 cbratschiExp $ */1 /* $Id: gdi32.cpp,v 1.15 1999-11-10 14:15:23 sandervl Exp $ */ 2 2 3 3 /* … … 295 295 HDC WIN32API CreateCompatibleDC( HDC arg1) 296 296 { 297 dprintf(("GDI32: CreateCompatibleDC %X\n", arg1)); 298 return O32_CreateCompatibleDC(arg1); 297 HDC rc; 298 299 rc = O32_CreateCompatibleDC(arg1); 300 dprintf(("GDI32: CreateCompatibleDC %X returned %x", arg1, rc)); 301 return rc; 299 302 } 300 303 //****************************************************************************** … … 408 411 HPALETTE WIN32API SelectPalette(HDC arg1, HPALETTE arg2, BOOL arg3) 409 412 { 410 dprintf(("GDI32: SelectPalette \n"));413 dprintf(("GDI32: SelectPalette %x", arg1)); 411 414 return O32_SelectPalette(arg1, arg2, arg3); 412 415 } … … 526 529 DIBSection *dsect = DIBSection::findHDC(hdcSrc); 527 530 if(dsect) { 528 return(dsect->BitBlt(hdcDest, O32_WindowFromDC(hdcDest), arg2, arg3, arg4, 529 arg5, arg7, arg8, arg9)); 531 return(dsect->BitBlt(hdcDest, arg2, arg3, arg4, arg5, arg7, arg8, arg9)); 530 532 } 531 533 } -
trunk/src/gdi32/makefile
r1388 r1686 1 # $Id: makefile,v 1. 9 1999-10-20 22:36:54sandervl Exp $1 # $Id: makefile,v 1.10 1999-11-10 14:15:23 sandervl Exp $ 2 2 3 3 # … … 69 69 70 70 clean: 71 $(RM) *.obj *.lib *.dll * ~ *.map *.pch71 $(RM) *.obj *.lib *.dll *.map *.pch 72 72 $(RM) $(PDWIN32_BIN)\$(TARGET).dll 73 73 $(RM) $(PDWIN32_LIB)\$(TARGET).lib
Note:
See TracChangeset
for help on using the changeset viewer.