- Timestamp:
- Apr 14, 2004, 11:44:36 AM (21 years ago)
- Location:
- trunk/src/gdi32
- Files:
-
- 3 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/gdi32/opengl.cpp
r10582 r10583 1 /* $Id: opengl.cpp,v 1.1 1 2004-04-14 09:44:13sandervl Exp $ */1 /* $Id: opengl.cpp,v 1.12 2004-04-14 09:44:36 sandervl Exp $ */ 2 2 3 3 /* -
trunk/src/gdi32/oslibgpi.cpp
r10374 r10583 1 /* $Id: oslibgpi.cpp,v 1.1 7 2004-01-11 11:42:19sandervl Exp $ */1 /* $Id: oslibgpi.cpp,v 1.18 2004-04-14 09:44:13 sandervl Exp $ */ 2 2 3 3 /* … … 395 395 BOOL rc = GpiSetAttrs(GetDCData(pHps)->hps,PRIM_LINE,LBB_COLOR,0,&lbNew); 396 396 if(rc == FALSE) { 397 dprintf(("GpiSetAttrs /GpiSetPelfailed with %x", WinGetLastError(0)));397 dprintf(("GpiSetAttrs failed with %x", WinGetLastError(0))); 398 398 } 399 399 else { 400 400 rc = GpiSetPel(GetDCData(pHps)->hps,(PPOINTL)pt) != GPI_ERROR; 401 if(rc == FALSE && LOWORD(WinGetLastError(0)) == PMERR_INV_IN_PATH) {402 dprintf(("WARNING: GpiSetPel invalid in path; retrying with GpiLine"));401 if(rc == FALSE) { 402 dprintf(("WARNING: GpiSetPel failed %x (invalid in path?); retrying with GpiLine", WinGetLastError(0))); 403 403 rc = GpiLine(GetDCData(pHps)->hps,(PPOINTL)pt) != GPI_ERROR; 404 404 } -
trunk/src/gdi32/palette.cpp
r10374 r10583 1 /* $Id: palette.cpp,v 1.1 2 2004-01-11 11:42:20sandervl Exp $ */1 /* $Id: palette.cpp,v 1.13 2004-04-14 09:44:14 sandervl Exp $ */ 2 2 3 3 /* … … 138 138 //****************************************************************************** 139 139 //****************************************************************************** 140 UINT WIN32API SetPaletteEntries( HPALETTE hPalette, UINT arg2, UINT arg3, PALETTEENTRY * arg4)140 UINT WIN32API SetPaletteEntries( HPALETTE hPalette, UINT arg2, UINT arg3, const PALETTEENTRY * arg4) 141 141 { 142 142 dprintf(("GDI32: SetPaletteEntries %x %d-%d %x", hPalette, arg2, arg3, arg4)); … … 167 167 Palette.aEntries[i].peGreen = g * 51; 168 168 Palette.aEntries[i].peBlue = b * 51; 169 } 169 } 170 170 } 171 171 }
Note:
See TracChangeset
for help on using the changeset viewer.