Use configured resolution for login/outgame/ingame
[ryzomcore.git] / ryzom / tools / client / client_config / sound_dlg.h
blob8bc70875d7dffe1b4074e8a8e47acc846f2f6c53
1 // Ryzom - MMORPG Framework <http://dev.ryzom.com/projects/ryzom/>
2 // Copyright (C) 2010 Winch Gate Property Limited
3 //
4 // This program is free software: you can redistribute it and/or modify
5 // it under the terms of the GNU Affero General Public License as
6 // published by the Free Software Foundation, either version 3 of the
7 // License, or (at your option) any later version.
8 //
9 // This program is distributed in the hope that it will be useful,
10 // but WITHOUT ANY WARRANTY; without even the implied warranty of
11 // MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
12 // GNU Affero General Public License for more details.
14 // You should have received a copy of the GNU Affero General Public License
15 // along with this program. If not, see <http://www.gnu.org/licenses/>.
17 #if !defined(AFX_SOUND_DLG_H__2BBC25D5_CD0E_4705_8D66_3912F5B14D88__INCLUDED_)
18 #define AFX_SOUND_DLG_H__2BBC25D5_CD0E_4705_8D66_3912F5B14D88__INCLUDED_
20 #if _MSC_VER > 1000
21 #pragma once
22 #endif // _MSC_VER > 1000
23 // sound_dlg.h : header file
26 // ***************************************************************************
27 // CSoundDlg dialog
28 // ***************************************************************************
30 class CSoundDlg : public CBaseDialog
32 // Construction
33 public:
34 CSoundDlg(CWnd* pParent = NULL); // standard constructor
36 // Dialog Data
37 //{{AFX_DATA(CSoundDlg)
38 enum { IDD = IDD_SOUND };
39 CStatic TextSB;
40 CStatic TextEAX;
41 CStatic TextFMod;
42 CStatic TextForceSoundSoft;
43 CButton EAXCtrl;
44 CButton FModCtrl;
45 CButton ForceSoundSoftCtrl;
46 BOOL SoundOn;
47 BOOL EAX;
48 BOOL FMod;
49 BOOL ForceSoundSoft;
50 CSliderCtrl SoundQuality;
51 CStatic SoundQualityValue;
52 int SoundQualityInt;
53 //}}AFX_DATA
55 void updateState ();
57 void setAsNumSoundBuffer(uint sb);
58 uint getAsNumSoundBuffer() const;
60 // Overrides
61 // ClassWizard generated virtual function overrides
62 //{{AFX_VIRTUAL(CSoundDlg)
63 protected:
64 virtual void DoDataExchange(CDataExchange* pDX); // DDX/DDV support
65 //}}AFX_VIRTUAL
67 // Implementation
68 protected:
70 // Generated message map functions
71 //{{AFX_MSG(CSoundDlg)
72 afx_msg void OnSoundOn();
73 virtual BOOL OnInitDialog();
74 afx_msg void OnEax();
75 afx_msg void OnFMod();
76 afx_msg void OnForceSoundSoft();
77 afx_msg void OnHScroll(UINT nSBCode, UINT nPos, CScrollBar* pScrollBar);
78 //}}AFX_MSG
79 DECLARE_MESSAGE_MAP()
82 //{{AFX_INSERT_LOCATION}}
83 // Microsoft Visual C++ will insert additional declarations immediately before the previous line.
85 #endif // !defined(AFX_SOUND_DLG_H__2BBC25D5_CD0E_4705_8D66_3912F5B14D88__INCLUDED_)