Old fashion design for PC-104
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.

71 lines
1.9 KiB

4 years ago
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
  1. //----------------------------------------------------------------------------
  2. // Laser Guard Ltd.
  3. // Copyright � 2000-2002. All Rights Reserved.
  4. // Version 1.0 01/01/2000
  5. // Last modification: 08/10/2003
  6. // PROJECT:
  7. // SUBSYSTEM:
  8. // FILE: LogoWnd.h
  9. // AUTHOR: Sergey Chizhevskiy
  10. // OVERVIEW
  11. // ~~~~~~~~
  12. // Header file of LogoWnd.h
  13. //----------------------------------------------------------------------------
  14. #if !defined(AFX_LOGOWND_H__DC4DFAB1_85C0_11D4_A1FB_00508B9DC668__INCLUDED_)
  15. #define AFX_LOGOWND_H__DC4DFAB1_85C0_11D4_A1FB_00508B9DC668__INCLUDED_
  16. #if _MSC_VER > 1000
  17. #pragma once
  18. #endif // _MSC_VER > 1000
  19. // LogoWnd.h : header file
  20. //
  21. /////////////////////////////////////////////////////////////////////////////
  22. // CLogoWnd window
  23. class CLogoWnd : public CWnd
  24. {
  25. // Construction
  26. public:
  27. CLogoWnd();
  28. // Attributes
  29. public:
  30. // Operations
  31. public:
  32. // Overrides
  33. // ClassWizard generated virtual function overrides
  34. //{{AFX_VIRTUAL(CLogoWnd)
  35. public:
  36. virtual BOOL Create(LPCTSTR lpszClassName, LPCTSTR lpszWindowName, DWORD dwStyle, const RECT& rect, CWnd* pParentWnd, UINT nID, CCreateContext* pContext = NULL);
  37. //}}AFX_VIRTUAL
  38. // Implementation
  39. public:
  40. void Rotate( BOOL bRotate );
  41. virtual ~CLogoWnd();
  42. // Generated message map functions
  43. protected:
  44. //{{AFX_MSG(CLogoWnd)
  45. afx_msg void OnPaint();
  46. afx_msg void OnTimer(UINT nIDEvent);
  47. //}}AFX_MSG
  48. DECLARE_MESSAGE_MAP()
  49. private:
  50. void PaintLogo( CDC *pDC );
  51. CDC m_OverlayDC;
  52. CBitmap m_OverlayBitmap;
  53. CBitmap *m_pOverlayBitmapOld;
  54. INT m_nStage;
  55. BOOL m_bRotate;
  56. };
  57. /////////////////////////////////////////////////////////////////////////////
  58. //{{AFX_INSERT_LOCATION}}
  59. // Microsoft Visual C++ will insert additional declarations immediately before the previous line.
  60. #endif // !defined(AFX_LOGOWND_H__DC4DFAB1_85C0_11D4_A1FB_00508B9DC668__INCLUDED_)