Ignore:
Timestamp:
Dec 18, 1999, 9:57:01 PM (26 years ago)
Author:
achimha
Message:

WINE 991212 updates - treeview missing

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:36 achimha Exp $ */
     1/* $Id: imagelist.c,v 1.10 1999-12-18 20:56:58 achimha Exp $ */
    22/*
    33 *  ImageList implementation
     
    3030*/
    3131
    32 /* WINE 990923 level */
     32/* WINE 991212 level */
    3333
    3434/* This must be defined because the HIMAGELIST type is just a pointer
     
    4242#include "commctrl.h"
    4343#include "comctl32.h"
     44#include "winerror.h"
    4445
    4546#define _MAX(a,b) (((a)>(b))?(a):(b))
     
    19101911HIMAGELIST WINAPI ImageList_Read (PVOID pstm)
    19111912{
     1913//    HRESULT errCode;
     1914//    ULONG ulRead;
     1915//    ILHEAD ilHead;
     1916//    HIMAGELIST himl;
     1917
     1918
    19121919    dprintf(("ImageList_Read empty stub!\n"));
    19131920
    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;
    19151931}
    19161932
     
    23952411        BitBlt (hdcBitmap, 0, 0, nCopyCount * himl->cx, himl->cy,
    23962412                  hdcImageList, 0, 0, SRCCOPY);
    2397 
     2413#if 0
    23982414        /* delete 'empty' image space */
    23992415        SetBkColor (hdcBitmap, RGB(255, 255, 255));
     
    24012417        PatBlt (hdcBitmap,  nCopyCount * himl->cx, 0,
    24022418                  (nNewCount - nCopyCount) * himl->cx, himl->cy, BLACKNESS);
    2403 
     2419#endif
    24042420        DeleteObject (himl->hbmImage);
    24052421        himl->hbmImage = hbmNewBitmap;
     
    24202436            BitBlt (hdcBitmap, 0, 0, nCopyCount * himl->cx, himl->cy,
    24212437                      hdcImageList, 0, 0, SRCCOPY);
    2422 
     2438#if 0
    24232439            /* delete 'empty' image space */
    24242440            SetBkColor (hdcBitmap, RGB(255, 255, 255));
     
    24262442            PatBlt (hdcBitmap,  nCopyCount * himl->cx, 0,
    24272443                      (nNewCount - nCopyCount) * himl->cx, himl->cy, BLACKNESS);
    2428 
     2444#endif
    24292445            DeleteObject (himl->hbmMask);
    24302446            himl->hbmMask = hbmNewBitmap;
Note: See TracChangeset for help on using the changeset viewer.