Source code of Windows XP (NT5)
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.

66 lines
2.0 KiB

  1. #if !defined(AFX_VIDEOWIN_H__AF1C3AD2_D8FE_11D0_9BFC_00AA00605CD5__INCLUDED_)
  2. #define AFX_VIDEOWIN_H__AF1C3AD2_D8FE_11D0_9BFC_00AA00605CD5__INCLUDED_
  3. #if _MSC_VER >= 1000
  4. #pragma once
  5. #endif // _MSC_VER >= 1000
  6. // VideoWin.h : header file
  7. //
  8. #define WM_AMPLAY_EVENT WM_USER+200
  9. class CDVDNavMgr;
  10. class CDvdUIDlg;
  11. /////////////////////////////////////////////////////////////////////////////
  12. // CVideoWindow dialog
  13. class CVideoWindow : public CDialog
  14. {
  15. // Construction
  16. public:
  17. CVideoWindow(CWnd* pParent = NULL); // standard constructor
  18. BOOL Create(CDvdUIDlg* pUIDlg = NULL);
  19. void AlignWindowsFrame();
  20. // Dialog Data
  21. //{{AFX_DATA(CVideoWindow)
  22. enum { IDD = IDD_VIDEO_WINDOW };
  23. // NOTE: the ClassWizard will add data members here
  24. //}}AFX_DATA
  25. afx_msg LRESULT OnAMPlayEvent(WPARAM wParam, LPARAM lParam) ;
  26. // Overrides
  27. // ClassWizard generated virtual function overrides
  28. //{{AFX_VIRTUAL(CVideoWindow)
  29. protected:
  30. virtual void DoDataExchange(CDataExchange* pDX); // DDX/DDV support
  31. //}}AFX_VIRTUAL
  32. virtual BOOL PreTranslateMessage(MSG *pMsg);
  33. // Implementation
  34. protected:
  35. CDvdUIDlg* m_pUIDlg;
  36. CDVDNavMgr* m_pDVDNavMgr;
  37. void DoRegionChange();
  38. // Generated message map functions
  39. //{{AFX_MSG(CVideoWindow)
  40. afx_msg void OnKeyUp(UINT nChar, UINT nRepCnt, UINT nFlags);
  41. afx_msg void OnMouseMove(UINT nFlags, CPoint point);
  42. afx_msg void OnLButtonUp(UINT nFlags, CPoint point);
  43. afx_msg void OnRButtonUp(UINT nFlags, CPoint point);
  44. afx_msg void OnMove(int x, int y);
  45. afx_msg void OnSize(UINT nType, int cx, int cy);
  46. afx_msg void OnEjectDisc();
  47. afx_msg void OnVideowinPlayspeedNormalspeed();
  48. afx_msg void OnVideowinPlayspeedDoublespeed();
  49. afx_msg void OnVideowinPlayspeedHalfspeed();
  50. // afx_msg BOOL OnSysCommand(UINT nEventType, LPARAM lParam);
  51. //}}AFX_MSG
  52. afx_msg void OnPopUpMenu(UINT nID);
  53. DECLARE_MESSAGE_MAP()
  54. };
  55. //{{AFX_INSERT_LOCATION}}
  56. // Microsoft Developer Studio will insert additional declarations immediately before the previous line.
  57. #endif // !defined(AFX_VIDEOWIN_H__AF1C3AD2_D8FE_11D0_9BFC_00AA00605CD5__INCLUDED_)