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.

37 lines
1.0 KiB

  1. /*************************************************
  2. * splstno.h *
  3. * *
  4. * Copyright (C) 1995-1999 Microsoft Inc. *
  5. * *
  6. *************************************************/
  7. // splstno.h : header file
  8. //
  9. // CSpriteListNotifyObj class
  10. //
  11. // This is a class derived from CSpriteNotifyObj which is used in
  12. // CSpriteList to handle notification calls from CSprite objects.
  13. //
  14. class CSpriteList;
  15. class CBlockView;
  16. class CSpriteListNotifyObj : public CSpriteNotifyObj
  17. {
  18. public:
  19. CSpriteListNotifyObj();
  20. ~CSpriteListNotifyObj();
  21. void SetList(CSpriteList* pSpriteList)
  22. {m_pSpriteList = pSpriteList;}
  23. void SetView(CBlockView* pBlockView)
  24. {m_pBlockView = pBlockView;}
  25. void Change(CSprite *pSprite,
  26. CHANGETYPE change,
  27. CRect* pRect1 = NULL,
  28. CRect* pRect2 = NULL);
  29. protected:
  30. CSpriteList* m_pSpriteList;
  31. CBlockView* m_pBlockView;
  32. };