Changeset 1054 for trunk/src/kernel32/old/winres.cpp
- Timestamp:
- Sep 25, 1999, 9:07:34 PM (26 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/kernel32/old/winres.cpp
r955 r1054 1 /* $Id: winres.cpp,v 1. 1 1999-09-15 23:33:02sandervl Exp $ */1 /* $Id: winres.cpp,v 1.2 1999-09-25 19:06:17 sandervl Exp $ */ 2 2 3 3 /* … … 447 447 //****************************************************************************** 448 448 //****************************************************************************** 449 ULONG Win32Resource::getOS2Size() 450 { 451 switch(type) { 452 case NTRT_NEWBITMAP: 453 case NTRT_BITMAP: 454 return QueryConvertedBitmapSize((WINBITMAPINFOHEADER *)winresdata, ressize); 455 456 case NTRT_CURSOR: 457 return QueryConvertedCursorSize((CursorComponent *)winresdata, ressize); 458 459 case NTRT_ICON: 460 return QueryConvertedIconSize((WINBITMAPINFOHEADER *)winresdata, ressize); 461 462 case NTRT_GROUP_ICON: 463 case NTRT_GROUP_CURSOR: 464 case NTRT_ACCELERATORS: 465 case NTRT_NEWMENU: 466 case NTRT_MENU: 467 case NTRT_NEWDIALOG: 468 case NTRT_DIALOG: 469 case NTRT_FONTDIR: 470 case NTRT_FONT: 471 case NTRT_MESSAGETABLE: 472 case NTRT_RCDATA: 473 case NTRT_VERSION: 474 case NTRT_STRING: 475 default: 476 dprintf(("Win32Resource::getOS2Size SHOULDN'T BE CALLED for this resource type (%d) (NOT IMPLEMENTED)!!", type)); 477 break; 478 } 479 return 0; 480 } 481 //****************************************************************************** 482 //******************************************************************************
Note:
See TracChangeset
for help on using the changeset viewer.