Use configured resolution for login/outgame/ingame
[ryzomcore.git] / ryzom / tools / leveldesign / georges_plugin_sound / PageBgFlags.h
blob147eb06c38eaf4a7c4e844606af50deaff61e3d7
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_PAGEBGFLAGS_H__302480C3_66F1_460C_BC59_B468ACBD55B2__INCLUDED_)
18 #define AFX_PAGEBGFLAGS_H__302480C3_66F1_460C_BC59_B468ACBD55B2__INCLUDED_
20 #if _MSC_VER > 1000
21 #pragma once
22 #endif // _MSC_VER > 1000
23 // PageBgFlags.h : header file
25 #include "nel/misc/types_nl.h"
26 #include "PageBase.h"
28 /////////////////////////////////////////////////////////////////////////////
29 // CPageBgFlags dialog
31 class CPageBgFlags : public CPageBase
33 DECLARE_DYNCREATE(CPageBgFlags)
35 // called by the master dialog when doc change
36 void onDocChanged();
38 // called by this dialog when data must be updated
39 void updateData(bool updateEditFilter);
42 /// Index of the current edited sound the the background
43 sint _Index;
44 /// Flag to block updating will modifying
45 bool _recurse;
47 // Construction
48 public:
49 CPageBgFlags() {}
50 CPageBgFlags(NLGEORGES::CSoundDialog *soundDialog);
51 ~CPageBgFlags();
53 // Dialog Data
54 //{{AFX_DATA(CPageBgFlags)
55 enum { IDD = IDD_PAGE_BG_FLAGS };
56 CString _SubSoundName;
57 //}}AFX_DATA
60 // Overrides
61 // ClassWizard generate virtual function overrides
62 //{{AFX_VIRTUAL(CPageBgFlags)
63 protected:
64 virtual void DoDataExchange(CDataExchange* pDX); // DDX/DDV support
65 virtual BOOL OnCommand(WPARAM wParam, LPARAM lParam);
66 //}}AFX_VIRTUAL
68 // Implementation
69 protected:
70 // Generated message map functions
71 //{{AFX_MSG(CPageBgFlags)
72 afx_msg void OnBtnEditAllOn();
73 afx_msg void OnBtnEditAllOff();
74 afx_msg void OnBtnEnvAllOff();
75 afx_msg void OnBtnEnvAllOn();
76 virtual BOOL OnInitDialog();
77 //}}AFX_MSG
78 DECLARE_MESSAGE_MAP()
82 //{{AFX_INSERT_LOCATION}}
83 // Microsoft Visual C++ will insert additional declarations immediately before the previous line.
85 #endif // !defined(AFX_PAGEBGFLAGS_H__302480C3_66F1_460C_BC59_B468ACBD55B2__INCLUDED_)