AnimatBitmapView.h
上传用户:gao_853
上传日期:2020-04-10
资源大小:362k
文件大小:2k
- // AnimatBitmapView.h : interface of the CAnimatBitmapView class
- //
- /////////////////////////////////////////////////////////////////////////////
- #if !defined(AFX_ANIMATBITMAPVIEW_H__E0E80F2E_86DA_4C3A_9541_2753F834698E__INCLUDED_)
- #define AFX_ANIMATBITMAPVIEW_H__E0E80F2E_86DA_4C3A_9541_2753F834698E__INCLUDED_
- #if _MSC_VER > 1000
- #pragma once
- #endif // _MSC_VER > 1000
- #include "AnimeBitmap.h"
- #pragma comment(lib, "AnimeBitmap.lib")
- //////////////
- class CAnimatBitmapView : public CView
- {
- protected: // create from serialization only
- CAnimatBitmapView();
- DECLARE_DYNCREATE(CAnimatBitmapView)
- // Attributes
- public:
- CAnimatBitmapDoc* GetDocument();
- CAnimeBitmap ImgBmp;
- int AnimeCode, Speed;
- // Operations
- public:
- // Overrides
- // ClassWizard generated virtual function overrides
- //{{AFX_VIRTUAL(CAnimatBitmapView)
- public:
- virtual void OnDraw(CDC* pDC); // overridden to draw this view
- virtual BOOL PreCreateWindow(CREATESTRUCT& cs);
- protected:
- //}}AFX_VIRTUAL
- // Implementation
- public:
- virtual ~CAnimatBitmapView();
- #ifdef _DEBUG
- virtual void AssertValid() const;
- virtual void Dump(CDumpContext& dc) const;
- #endif
- protected:
- // Generated message map functions
- protected:
- //{{AFX_MSG(CAnimatBitmapView)
- afx_msg void OnAnime1();
- afx_msg void OnAnime2();
- afx_msg void OnAnime3();
- //}}AFX_MSG
- DECLARE_MESSAGE_MAP()
- };
- #ifndef _DEBUG // debug version in AnimatBitmapView.cpp
- inline CAnimatBitmapDoc* CAnimatBitmapView::GetDocument()
- { return (CAnimatBitmapDoc*)m_pDocument; }
- #endif
- /////////////////////////////////////////////////////////////////////////////
- //{{AFX_INSERT_LOCATION}}
- // Microsoft Visual C++ will insert additional declarations immediately before the previous line.
- #endif // !defined(AFX_ANIMATBITMAPVIEW_H__E0E80F2E_86DA_4C3A_9541_2753F834698E__INCLUDED_)