home *** CD-ROM | disk | FTP | other *** search
/ Large Pack of OldSkool DOS MOD Trackers / beaversweeper_v101.zip / src / DblBuffView.h < prev    next >
C/C++ Source or Header  |  2003-01-06  |  1KB  |  58 lines

  1. #if !defined(AFX_DBLBUFFVIEW_H__04F38520_5FC5_4C6E_917A_D6A61200A522__INCLUDED_)
  2. #define AFX_DBLBUFFVIEW_H__04F38520_5FC5_4C6E_917A_D6A61200A522__INCLUDED_
  3.  
  4. #if _MSC_VER > 1000
  5. #pragma once
  6. #endif // _MSC_VER > 1000
  7. // DblBuffView.h : header file
  8. //
  9.  
  10. /////////////////////////////////////////////////////////////////////////////
  11. // CDblBuffView view
  12.  
  13. class CDblBuffView : public CView
  14. {
  15. protected:
  16.     CDblBuffView();           // protected constructor used by dynamic creation
  17.     DECLARE_DYNCREATE(CDblBuffView)
  18.  
  19. // Attributes
  20. public:
  21.     int init_done;
  22.     CDC m_BackBuffer;
  23.     CBitmap m_BackBit;
  24.  
  25. // Operations
  26. public:
  27.  
  28. // Overrides
  29.     // ClassWizard generated virtual function overrides
  30.     //{{AFX_VIRTUAL(CDblBuffView)
  31.     protected:
  32.     virtual void OnDraw(CDC* pDC);      // overridden to draw this view
  33.     //}}AFX_VIRTUAL
  34.  
  35. // Implementation
  36. protected:
  37.     virtual ~CDblBuffView();
  38. #ifdef _DEBUG
  39.     virtual void AssertValid() const;
  40.     virtual void Dump(CDumpContext& dc) const;
  41. #endif
  42.  
  43.     // Generated message map functions
  44. protected:
  45.     //{{AFX_MSG(CDblBuffView)
  46.     afx_msg void OnSize(UINT nType, int cx, int cy);
  47.     afx_msg void OnPaint();
  48.     //}}AFX_MSG
  49.     DECLARE_MESSAGE_MAP()
  50. };
  51.  
  52. /////////////////////////////////////////////////////////////////////////////
  53.  
  54. //{{AFX_INSERT_LOCATION}}
  55. // Microsoft Visual C++ will insert additional declarations immediately before the previous line.
  56.  
  57. #endif // !defined(AFX_DBLBUFFVIEW_H__04F38520_5FC5_4C6E_917A_D6A61200A522__INCLUDED_)
  58.