Changeset 2126 for trunk/src/comctl32/imagelist.c
- Timestamp:
- Dec 18, 1999, 9:57:01 PM (26 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/comctl32/imagelist.c
r1788 r2126 1 /* $Id: imagelist.c,v 1. 9 1999-11-21 11:04:36achimha Exp $ */1 /* $Id: imagelist.c,v 1.10 1999-12-18 20:56:58 achimha Exp $ */ 2 2 /* 3 3 * ImageList implementation … … 30 30 */ 31 31 32 /* WINE 99 0923level */32 /* WINE 991212 level */ 33 33 34 34 /* This must be defined because the HIMAGELIST type is just a pointer … … 42 42 #include "commctrl.h" 43 43 #include "comctl32.h" 44 #include "winerror.h" 44 45 45 46 #define _MAX(a,b) (((a)>(b))?(a):(b)) … … 1910 1911 HIMAGELIST WINAPI ImageList_Read (PVOID pstm) 1911 1912 { 1913 // HRESULT errCode; 1914 // ULONG ulRead; 1915 // ILHEAD ilHead; 1916 // HIMAGELIST himl; 1917 1918 1912 1919 dprintf(("ImageList_Read empty stub!\n")); 1913 1920 1914 return NULL; 1921 // errCode = IStream_Read (pstm, &ilHead, sizeof(ILHEAD), &ulRead); 1922 // if (errCode != S_OK) 1923 // return NULL; 1924 1925 FIXME("Magic: 0x%x\n", ilHead.usMagic); 1926 1927 // himl = ImageList_Create (32, 32, ILD_NORMAL, 2, 2); 1928 1929 // return himl; 1930 return 0; 1915 1931 } 1916 1932 … … 2395 2411 BitBlt (hdcBitmap, 0, 0, nCopyCount * himl->cx, himl->cy, 2396 2412 hdcImageList, 0, 0, SRCCOPY); 2397 2413 #if 0 2398 2414 /* delete 'empty' image space */ 2399 2415 SetBkColor (hdcBitmap, RGB(255, 255, 255)); … … 2401 2417 PatBlt (hdcBitmap, nCopyCount * himl->cx, 0, 2402 2418 (nNewCount - nCopyCount) * himl->cx, himl->cy, BLACKNESS); 2403 2419 #endif 2404 2420 DeleteObject (himl->hbmImage); 2405 2421 himl->hbmImage = hbmNewBitmap; … … 2420 2436 BitBlt (hdcBitmap, 0, 0, nCopyCount * himl->cx, himl->cy, 2421 2437 hdcImageList, 0, 0, SRCCOPY); 2422 2438 #if 0 2423 2439 /* delete 'empty' image space */ 2424 2440 SetBkColor (hdcBitmap, RGB(255, 255, 255)); … … 2426 2442 PatBlt (hdcBitmap, nCopyCount * himl->cx, 0, 2427 2443 (nNewCount - nCopyCount) * himl->cx, himl->cy, BLACKNESS); 2428 2444 #endif 2429 2445 DeleteObject (himl->hbmMask); 2430 2446 himl->hbmMask = hbmNewBitmap;
Note:
See TracChangeset
for help on using the changeset viewer.