Ignore:
Timestamp:
Oct 31, 1999, 10:38:20 PM (26 years ago)
Author:
achimha
Message:

Added DIB changes from Markus Montkowski to return initalized DIB structure + various bug fixes in DIB handling

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/src/gdi32/dibsect.h

    r97 r1533  
    1 /* $Id: dibsect.h,v 1.3 1999-06-10 17:09:03 phaller Exp $ */
     1/* $Id: dibsect.h,v 1.4 1999-10-31 21:38:16 achimha Exp $ */
    22
    33/*
     
    3737} WINBITMAPINFOHEADER;
    3838
     39typedef struct
     40{
     41    INT  bmType;
     42    INT  bmWidth;
     43    INT  bmHeight;
     44    INT  bmWidthBytes;
     45    WORD   bmPlanes;
     46    WORD   bmBitsPixel;
     47    LPVOID bmBits;
     48} WINBITMAP, *LPWINBITMAP;
     49
     50#ifdef OS2_ONLY
     51typedef struct
     52{
     53        WINBITMAP               dsBm;
     54        WINBITMAPINFOHEADER     dsBmih;
     55        DWORD                   dsBitfields[3];
     56        HANDLE          dshSection;
     57        DWORD                   dsOffset;
     58} DIBSECTION,*LPDIBSECTION;
     59#endif
     60
    3961class DIBSection
    4062{
     
    5274
    5375               int  SetDIBColorTable(int startIdx, int cEntries, RGBQUAD *rgb);
     76
     77               int  GetDIBSection(int iSize , DIBSECTION *pDIBSection);
     78
    5479 static DIBSection *getSection() { return section; } ;
    5580 static DIBSection *find(DWORD handle);
     
    6489          char *bmpBits;
    6590          BOOL  fFlip;
    66 
     91          int   bmpsize;
    6792    BITMAPINFO2 *pOS2bmp;
    6893                             // Linked list management
     
    7297
    7398#endif
     99
Note: See TracChangeset for help on using the changeset viewer.