Ignore:
Timestamp:
Jul 21, 1999, 12:16:51 AM (26 years ago)
Author:
hugh
Message:

Changhed from Isequence to DPA for managing rectangles and surfaces

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/src/ddraw/OS2SURFACE.H

    r312 r352  
    77#include "os2palette.h"
    88#include <dive.h>
    9 #include <iseq.h>
    10 #include "rectangle.h"
     9#include <commctrl.h>
    1110
    1211#define FAR
     
    8685
    8786        DWORD                  dwUniqueValue;
    88         ISequence<PSURFPRIVATEDATA> SurfaceSequencePrivateData;
     87        HDPA DPA_SurfacePrivateData;
     88
    8989        BOOL                   fOverlayValid;
    9090        LONG                   lOverlayX;
     
    9696        OS2IDirectDrawSurface*  FrontBuffer; // NULL if the real frontbuffer of a Flipchain otherwise  the prev. Backbuffer
    9797        OS2IDirectDrawSurface*  NextFlip;    // Only valid in a frontbuffer
    98         ISequence <OS2IDirectDrawSurface*> SurfaceSequenceMipMap;    // MipMaps go in this one
    99         ISequence <OS2IDirectDrawSurface*> SurfaceSequenceAttached;  // Other attached go in this one
    100         ISequence <OS2IDirectDrawSurface*>::Cursor *SurfaceCursorMipMap;    // Iterator for MipMaps
    101         ISequence <OS2IDirectDrawSurface*>::Cursor *SurfaceCursorAttached;  // Iterator for other attached surfaces
    102 
    103         ISequence <DDRectangle*> LockedRectSequence;            // List for locked rectangles
     98
     99        HDPA DPA_SurfaceMipMaps;
     100        HDPA DPA_SurfaceAttached;
     101        HDPA DPA_LockedRects;
    104102
    105103    friend    HRESULT __stdcall SurfQueryInterface(THIS, REFIID riid, LPVOID FAR * ppvObj);
Note: See TracChangeset for help on using the changeset viewer.