X64 transport [Part 5] (Update plugins.cpp)
[xy_vsfilter.git] / src / apps / mplayerc / PPagePlayback.h
blob63b9d702484175f595fc1938a8e651ac31650aba
1 /*
2 * Copyright (C) 2003-2006 Gabest
3 * http://www.gabest.org
5 * This Program is free software; you can redistribute it and/or modify
6 * it under the terms of the GNU General Public License as published by
7 * the Free Software Foundation; either version 2, or (at your option)
8 * any later version.
9 *
10 * This Program is distributed in the hope that it will be useful,
11 * but WITHOUT ANY WARRANTY; without even the implied warranty of
12 * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
13 * GNU General Public License for more details.
15 * You should have received a copy of the GNU General Public License
16 * along with GNU Make; see the file COPYING. If not, write to
17 * the Free Software Foundation, 675 Mass Ave, Cambridge, MA 02139, USA.
18 * http://www.gnu.org/copyleft/gpl.html
22 #pragma once
24 #include "PPageBase.h"
26 // CPPagePlayback dialog
28 class CPPagePlayback : public CPPageBase
30 DECLARE_DYNAMIC(CPPagePlayback)
32 private:
33 CAtlArray<dispmode> m_dms;
35 public:
36 CPPagePlayback();
37 virtual ~CPPagePlayback();
39 CSliderCtrl m_volumectrl;
40 CSliderCtrl m_balancectrl;
41 int m_nVolume;
42 int m_nBalance;
43 int m_iLoopForever;
44 CEdit m_loopnumctrl;
45 int m_nLoops;
46 BOOL m_fRewind;
47 int m_iZoomLevel;
48 BOOL m_iRememberZoomLevel;
49 BOOL m_fSetFullscreenRes;
50 CComboBox m_dispmodecombo;
51 BOOL m_fAutoloadAudio;
52 BOOL m_fAutoloadSubtitles;
53 BOOL m_fEnableWorkerThreadForOpening;
54 BOOL m_fReportFailedPins;
56 // Dialog Data
57 enum { IDD = IDD_PPAGEPLAYBACK };
59 protected:
60 virtual void DoDataExchange(CDataExchange* pDX); // DDX/DDV support
61 virtual BOOL OnInitDialog();
62 virtual BOOL OnApply();
63 virtual LRESULT DefWindowProc(UINT message, WPARAM wParam, LPARAM lParam);
65 DECLARE_MESSAGE_MAP()
67 public:
68 afx_msg void OnHScroll(UINT nSBCode, UINT nPos, CScrollBar* pScrollBar);
69 afx_msg void OnBnClickedRadio12(UINT nID);
70 afx_msg void OnUpdateLoopNum(CCmdUI* pCmdUI);
71 afx_msg void OnUpdateAutoZoomCombo(CCmdUI* pCmdUI);
72 afx_msg void OnUpdateDispModeCombo(CCmdUI* pCmdUI);