#if !defined(AFX_OPTIONS_H__5C839953_58C0_4D9D_89CE_2820C7686C1B__INCLUDED_)
#define AFX_OPTIONS_H__5C839953_58C0_4D9D_89CE_2820C7686C1B__INCLUDED_
#if _MSC_VER > 1000
#pragma once
#endif
class COptSystems : public CDialog
{
public:
COptSystems(CWnd* pParent = NULL);
enum { IDD = IDD_OPT_SYSTEMS };
CButton m_ForceDuration;
CComboBox m_Threading;
CButton m_BifsAlwaysDrawn;
CComboBox m_Lang;
void SaveOptions();
protected:
virtual void DoDataExchange(CDataExchange* pDX);
protected:
virtual BOOL OnInitDialog();
DECLARE_MESSAGE_MAP()
};
class COptStream : public CDialog
{
public:
COptStream(CWnd* pParent = NULL);
enum { IDD = IDD_OPT_STREAM };
CEdit m_RebufferLen;
CButton m_Rebuffer;
CEdit m_Buffer;
CEdit m_Timeout;
CButton m_Reorder;
CButton m_UseRTSP;
CComboBox m_Port;
void SaveOptions();
void CheckRebuffer();
protected:
virtual void DoDataExchange(CDataExchange* pDX);
protected:
virtual BOOL OnInitDialog();
afx_msg void OnSelchangePort();
afx_msg void OnRtsp();
afx_msg void OnRebuffer();
afx_msg void OnUpdateRebufferLen();
afx_msg void OnUpdateBuffer();
DECLARE_MESSAGE_MAP()
};
class COptRender : public CDialog
{
public:
COptRender(CWnd* pParent = NULL);
enum { IDD = IDD_OPT_RENDER };
CComboBox m_Antialias;
CButton m_ForceSize;
CButton m_HighSpeed;
CButton m_Scalable;
CButton m_DirectRender;
CComboBox m_BIFSRate;
void SaveOptions();
protected:
virtual void DoDataExchange(CDataExchange* pDX);
protected:
virtual BOOL OnInitDialog();
DECLARE_MESSAGE_MAP()
};
class COptHTTP : public CDialog
{
public:
COptHTTP(CWnd* pParent = NULL);
enum { IDD = IDD_OPT_HTTP };
CButton m_RestartFile;
CButton m_Progressive;
CButton m_CleanCache;
CButton m_CacheDir;
CEdit m_SaxDuration;
void SaveOptions();
protected:
virtual void DoDataExchange(CDataExchange* pDX);
protected:
afx_msg void OnBrowseCache();
afx_msg void OnProgressive();
virtual BOOL OnInitDialog();
DECLARE_MESSAGE_MAP()
};
class COptGen : public CDialog
{
public:
COptGen(CWnd* pParent = NULL);
enum { IDD = IDD_OPT_GEN };
CButton m_NoBacklight;
CButton m_Fill;
CButton m_Loop;
CButton m_Logs;
void SaveOptions();
protected:
virtual void DoDataExchange(CDataExchange* pDX);
protected:
virtual BOOL OnInitDialog();
afx_msg void OnFileassoc();
DECLARE_MESSAGE_MAP()
};
class COptFont : public CDialog
{
public:
COptFont(CWnd* pParent = NULL);
enum { IDD = IDD_OPT_FONT };
CButton m_UseTexture;
CComboBox m_Fonts;
CButton m_BrowseFont;
void SaveOptions();
protected:
virtual void DoDataExchange(CDataExchange* pDX);
protected:
virtual BOOL OnInitDialog();
afx_msg void OnBrowseFont();
DECLARE_MESSAGE_MAP()
};
class COptDecoder : public CDialog
{
public:
COptDecoder(CWnd* pParent = NULL);
enum { IDD = IDD_OPT_DECODER };
CComboBox m_Video;
CComboBox m_Audio;
void SaveOptions();
protected:
virtual void DoDataExchange(CDataExchange* pDX);
protected:
virtual BOOL OnInitDialog();
DECLARE_MESSAGE_MAP()
};
class COptAudio : public CDialog
{
public:
COptAudio(CWnd* pParent = NULL);
enum { IDD = IDD_OPT_AUDIO };
CComboBox m_DriverList;
CButton m_AudioResync;
CEdit m_AudioDur;
CSpinButtonCtrl m_SpinDur;
CButton m_ForceConfig;
CSpinButtonCtrl m_AudioSpin;
CEdit m_AudioEdit;
void SaveOptions();
protected:
virtual void DoDataExchange(CDataExchange* pDX);
protected:
virtual BOOL OnInitDialog();
afx_msg void OnForceAudio();
DECLARE_MESSAGE_MAP()
};
class COptRender3D : public CDialog
{
public:
COptRender3D(CWnd* pParent = NULL);
enum { IDD = IDD_OPT_RENDER3D };
CComboBox m_WireMode;
CComboBox m_DrawNormals;
CButton m_Use3DRender;
CButton m_NoBackFace;
CButton m_EmulatePOW2;
void SaveOptions();
protected:
virtual void DoDataExchange(CDataExchange* pDX);
protected:
virtual BOOL OnInitDialog();
DECLARE_MESSAGE_MAP()
};
class COptions : public CDialog
{
public:
COptions(CWnd* pParent = NULL);
enum { IDD = IDD_OPTIONS };
CComboBox m_Selection;
protected:
virtual void DoDataExchange(CDataExchange* pDX);
protected:
COptGen m_general;
COptSystems m_systems;
COptRender m_render;
COptRender3D m_render3D;
COptAudio m_audio;
COptHTTP m_http;
COptFont m_font;
COptStream m_stream;
COptDecoder m_decoder;
void HideAll();
virtual BOOL OnInitDialog();
virtual void OnOK();
afx_msg void OnSaveopt();
afx_msg void OnSelchangeCombosel();
DECLARE_MESSAGE_MAP()
};
#endif