Changeset 5810 for trunk/src/gdi32
- Timestamp:
- May 27, 2001, 9:01:35 PM (24 years ago)
- Location:
- trunk/src/gdi32
- Files:
-
- 2 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/gdi32/gdi32.DEF
r5390 r5810 1 ; $Id: gdi32.DEF,v 1.1 6 2001-03-27 20:47:52sandervl Exp $1 ; $Id: gdi32.DEF,v 1.17 2001-05-27 19:01:14 sandervl Exp $ 2 2 3 3 ;Created by BLAST for IBM's compiler … … 367 367 InternalDrawTextExA @1205 NONAME 368 368 InternalDrawTextExW @1206 NONAME 369 InternalTabbedTextOutA @1207 NONAME370 InternalTabbedTextOutW @1208 NONAME371 InternalGetTabbedTextExtentA @1209 NONAME372 InternalGetTabbedTextExtentW @1210 NONAME369 ;; InternalTabbedTextOutA @1207 NONAME 370 ;; InternalTabbedTextOutW @1208 NONAME 371 ;; InternalGetTabbedTextExtentA @1209 NONAME 372 ;; InternalGetTabbedTextExtentW @1210 NONAME 373 373 _setWinDeviceRegionFromPMDeviceRegion@16 @1211 NONAME 374 374 -
trunk/src/gdi32/text.cpp
r5799 r5810 1 /* $Id: text.cpp,v 1.2 2 2001-05-25 10:05:29sandervl Exp $ */1 /* $Id: text.cpp,v 1.23 2001-05-27 19:01:14 sandervl Exp $ */ 2 2 3 3 /* … … 470 470 return(rc); 471 471 } 472 #if 0 473 //Replaced with Wine functions in user32\text.cpp) 472 474 //****************************************************************************** 473 475 // CB: USER32 function, but here is the better place … … 488 490 return 0; 489 491 } 490 if ((lpString == NULL) || ( nCount > 512) || ((nTabPositions > 0) && (lpnTabStopPositions == NULL)))492 if ((lpString == NULL) || ((nTabPositions > 0) && (lpnTabStopPositions == NULL))) 491 493 { 492 494 SetLastError(ERROR_INVALID_PARAMETER); 493 495 return 0; 494 496 } 497 if(nCount > 512) { 498 DWORD cbStringNew; 499 DWORD ret1; 500 DWORD ret = 0; 501 502 dprintf(("WARNING: InternalGetTabbedTextExtentA string longer than 512 chars; splitting up")); 503 while(nCount) { 504 cbStringNew = min(500, nCount); 505 506 ret = InternalGetTabbedTextExtentA(hDC, lpString, cbStringNew, nTabPositions, lpnTabStopPositions); 507 lpString += cbStringNew; 508 nCount -= cbStringNew; 509 } 510 return ret; 511 } 512 495 513 //CB: Win95 supports negative values for right aligned text 496 514 for (INT i = 0;i < nTabPositions;i++) … … 623 641 return(rc); 624 642 } 643 #endif 625 644 //****************************************************************************** 626 645 // todo: metafile support
Note:
See TracChangeset
for help on using the changeset viewer.