Source code of Windows XP (NT5)
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
 
 
 
 
 
 

39 lines
1.1 KiB

/*************************************************
* spritelst.h *
* *
* Copyright (C) 1995-1999 Microsoft Inc. *
* *
*************************************************/
// spritlst.h : header file
//
// CSpriteList class
//
class CSpriteList : private CObList
{
DECLARE_SERIAL(CSpriteList)
public:
CSpriteList();
~CSpriteList();
void RemoveAll();
BOOL Insert(CSprite *pSprite);
void Reorder(CSprite *pSprite);
CSprite *Remove(CSprite *pSprite);
CSprite *GetNext(POSITION &pos)
{return (CSprite *) CObList::GetNext(pos);}
CSprite *GetPrev(POSITION &pos)
{return (CSprite *) CObList::GetPrev(pos);}
POSITION GetTailPosition() const
{return CObList::GetTailPosition();}
POSITION GetHeadPosition() const
{return CObList::GetHeadPosition();}
CSprite *HitTest(CPoint point);
virtual void Serialize(CArchive& ar);
BOOL IsEmpty()
{return CObList::IsEmpty();}
public:
CSpriteListNotifyObj m_NotifyObj;
};