- Main Page
- Namespaces
- Classes
- Files
- Directories

- File List
- File Members

# PPagePlayback.h

    00001 /*
    00002  *      Copyright (C) 2003-2005 Gabest
    00003  *      http://www.gabest.org
    00004  *
    00005  *  This Program is free software; you can redistribute it and/or modify
    00006  *  it under the terms of the GNU General Public License as published by
    00007  *  the Free Software Foundation; either version 2, or (at your option)
    00008  *  any later version.
    00009  *
    00010  *  This Program is distributed in the hope that it will be useful,
    00011  *  but WITHOUT ANY WARRANTY; without even the implied warranty of
    00012  *  MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
    00013  *  GNU General Public License for more details.
    00014  *
    00015  *  You should have received a copy of the GNU General Public License
    00016  *  along with GNU Make; see the file COPYING.  If not, write to
    00017  *  the Free Software Foundation, 675 Mass Ave, Cambridge, MA 02139, USA.
    00018  *  http://www.gnu.org/copyleft/gpl.html
    00019  *
    00020  */
    00021
    00022 #pragma once
    00023
    00024 #include "PPageBase.h"
    00025
    00026 // CPPagePlayback dialog
    00027
    00028 class CPPagePlayback : public CPPageBase
    00029 {
    00030         DECLARE_DYNAMIC(CPPagePlayback)
    00031
    00032 private:
    00033         CArray<dispmode> m_dms;
    00034
    00035 public:
    00036         CPPagePlayback();
    00037         virtual ~CPPagePlayback();
    00038
    00039         CSliderCtrl m_volumectrl;
    00040         CSliderCtrl m_balancectrl;
    00041         int m_nVolume;
    00042         int m_nBalance;
    00043         int m_iLoopForever;
    00044         CEdit m_loopnumctrl;
    00045         int m_nLoops;
    00046         BOOL m_fRewind;
    00047         int m_iZoomLevel;
    00048         BOOL m_iRememberZoomLevel;
    00049         BOOL m_fSetFullscreenRes;
    00050         CComboBox m_dispmodecombo;
    00051         BOOL m_fAutoloadAudio;
    00052         BOOL m_fAutoloadSubtitles;
    00053         BOOL m_fEnableWorkerThreadForOpening;
    00054         BOOL m_fReportFailedPins;
    00055
    00056 // Dialog Data
    00057         enum { IDD = IDD_PPAGEPLAYBACK };
    00058
    00059 protected:
    00060         virtual void DoDataExchange(CDataExchange* pDX);    // DDX/DDV support
    00061         virtual BOOL OnInitDialog();
    00062         virtual BOOL OnApply();
    00063         virtual LRESULT DefWindowProc(UINT message, WPARAM wParam, LPARAM lParam);
    00064
    00065         DECLARE_MESSAGE_MAP()
    00066
    00067 public:
    00068         afx_msg void OnHScroll(UINT nSBCode, UINT nPos, CScrollBar* pScrollBar);
    00069         afx_msg void OnBnClickedRadio12(UINT nID);
    00070         afx_msg void OnUpdateLoopNum(CCmdUI* pCmdUI);
    00071         afx_msg void OnUpdateAutoZoomCombo(CCmdUI* pCmdUI);
    00072         afx_msg void OnUpdateDispModeCombo(CCmdUI* pCmdUI);
    00073 };