Leaked source code of windows server 2003
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.

75 lines
2.1 KiB

  1. // LCDManView.h : interface of the CLCDManView class
  2. //
  3. /////////////////////////////////////////////////////////////////////////////
  4. #if !defined(AFX_LCDMANVIEW_H__1BC85EF9_74DE_11D2_AB4D_00C04F991DFD__INCLUDED_)
  5. #define AFX_LCDMANVIEW_H__1BC85EF9_74DE_11D2_AB4D_00C04F991DFD__INCLUDED_
  6. #if _MSC_VER > 1000
  7. #pragma once
  8. #endif // _MSC_VER > 1000
  9. #include "Hardware.h"
  10. class CLCDManView : public CView
  11. {
  12. protected: // create from serialization only
  13. CLCDManView();
  14. DECLARE_DYNCREATE(CLCDManView)
  15. // Attributes
  16. public:
  17. CLCDManDoc* GetDocument();
  18. // Operations
  19. public:
  20. // Overrides
  21. // ClassWizard generated virtual function overrides
  22. //{{AFX_VIRTUAL(CLCDManView)
  23. public:
  24. virtual void OnDraw(CDC* pDC); // overridden to draw this view
  25. virtual BOOL PreCreateWindow(CREATESTRUCT& cs);
  26. protected:
  27. virtual BOOL OnPreparePrinting(CPrintInfo* pInfo);
  28. virtual void OnBeginPrinting(CDC* pDC, CPrintInfo* pInfo);
  29. virtual void OnEndPrinting(CDC* pDC, CPrintInfo* pInfo);
  30. //}}AFX_VIRTUAL
  31. // Implementation
  32. public:
  33. virtual ~CLCDManView();
  34. #ifdef _DEBUG
  35. virtual void AssertValid() const;
  36. virtual void Dump(CDumpContext& dc) const;
  37. #endif
  38. protected:
  39. // Generated message map functions
  40. protected:
  41. POSITION m_pos; // !!!!!!!!!!!!! Obsolete
  42. CRect m_RectImg;
  43. BITMAP m_bmText;
  44. BYTE m_bmVal[LCD_X_DIMENSION * LCD_Y_DIMENSION * 15];
  45. int m_iTimerInterval;
  46. int m_iTextPos;
  47. //{{AFX_MSG(CLCDManView)
  48. afx_msg void OnViewNext();
  49. afx_msg void OnViewPrevious();
  50. afx_msg void OnTimer(UINT nIDEvent);
  51. //}}AFX_MSG
  52. DECLARE_MESSAGE_MAP()
  53. };
  54. #ifndef _DEBUG // debug version in LCDManView.cpp
  55. inline CLCDManDoc* CLCDManView::GetDocument()
  56. { return (CLCDManDoc*)m_pDocument; }
  57. #endif
  58. /////////////////////////////////////////////////////////////////////////////
  59. //{{AFX_INSERT_LOCATION}}
  60. // Microsoft Visual C++ will insert additional declarations immediately before the previous line.
  61. #endif // !defined(AFX_LCDMANVIEW_H__1BC85EF9_74DE_11D2_AB4D_00C04F991DFD__INCLUDED_)