Ignore:
Timestamp:
Feb 4, 2000, 6:00:23 PM (26 years ago)
Author:
cbratschi
Message:

* empty log message *

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/include/win/imagelist.h

    r94 r2634  
    1 /* $Id: imagelist.h,v 1.3 1999-06-10 16:21:51 achimha Exp $ */
     1/* $Id: imagelist.h,v 1.4 2000-02-04 17:00:23 cbratschi Exp $ */
    22/*
    33 * ImageList definitions
     
    66 * Copyright 1999 Achim Hasenmueller
    77 */
    8  
     8
    99#ifndef _IMAGELIST_H
    1010#define _IMAGELIST_H
     
    1212#include "wingdi.h"
    1313
     14/* the ones with offsets at the end are the same as in Windows */
    1415struct _IMAGELIST
    1516{
     17    DWORD       magic;                  /* 00:  'LMIH' */
     18    INT         cCurImage;              /* 04: ImageCount */
     19    INT         cMaxImage;              /* 08: maximages */
     20    DWORD       x3;
     21    INT         cx;                     /* 10: cx */
     22    INT         cy;                     /* 14: cy */
     23    DWORD       x4;
     24    UINT        flags;                  /* 1c: flags */
     25    DWORD       x5;
     26    COLORREF    clrBk;                  /* 24: bkcolor */
     27
     28
     29    /* not yet found out */
    1630    HBITMAP hbmImage;
    1731    HBITMAP hbmMask;
    1832    HBRUSH  hbrBlend25;
    1933    HBRUSH  hbrBlend50;
    20     COLORREF  clrBk;
    2134    COLORREF  clrFg;
    2235    INT     cInitial;
    2336    INT     cGrow;
    24     INT     cMaxImage;
    25     INT     cCurImage;
    26     INT     cx;
    27     INT     cy;
    28     UINT    flags;
    2937    UINT    uBitsPixel;
    3038    INT     nOvlIdx[15];
    3139};
    32  
     40
    3341typedef struct _IMAGELIST *HIMAGELIST;
     42
     43/* Header used by ImageList_Read() and ImageList_Write() */
     44typedef struct _ILHEAD
     45{
     46    USHORT      usMagic;
     47    USHORT      usVersion;
     48    WORD        cCurImage;
     49    WORD        cMaxImage;
     50    WORD        cGrow;
     51    WORD        cx;
     52    WORD        cy;
     53    COLORREF    bkcolor;
     54    WORD        flags;
     55    SHORT       ovls[4];
     56} ILHEAD;
    3457
    3558#endif  /* _IMAGELIST_H */
Note: See TracChangeset for help on using the changeset viewer.