home *** CD-ROM | disk | FTP | other *** search
- // spritvw.h : interface of the CSpritesView class
- //
- /////////////////////////////////////////////////////////////////////////////
-
- class CSpritesView : public CView
- {
- protected: // create from serialization only
- CSpritesView();
- DECLARE_DYNCREATE(CSpritesView)
-
- // Attributes
- public:
- CSpritesDoc* GetDocument();
-
- CSpriteMgr m_SpriteMgr;
-
- // Operations
- public:
-
- // Implementation
- public:
- virtual ~CSpritesView();
- virtual void OnDraw(CDC* pDC); // overridden to draw this view
- virtual void OnInitialUpdate();
-
- #ifdef _DEBUG
- virtual void AssertValid() const;
- virtual void Dump(CDumpContext& dc) const;
- #endif
-
-
- // Generated message map functions
- protected:
- //{{AFX_MSG(CSpritesView)
- afx_msg void OnLButtonDown(UINT nFlags, CPoint point);
- afx_msg void OnMouseMove(UINT nFlags, CPoint point);
- afx_msg void OnLButtonUp(UINT nFlags, CPoint point);
- afx_msg void OnRButtonDown(UINT nFlags, CPoint point);
- afx_msg void OnTimer(UINT nIDEvent);
- //}}AFX_MSG
- DECLARE_MESSAGE_MAP()
- };
-
- #ifndef _DEBUG // debug version in spritvw.cpp
- inline CSpritesDoc* CSpritesView::GetDocument()
- { return (CSpritesDoc*) m_pDocument; }
- #endif
-
- /////////////////////////////////////////////////////////////////////////////
-