| 1 | /* |
| 2 | * Descent 3 |
| 3 | * Copyright (C) 2024 Parallax Software |
| 4 | * |
| 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 3 of the License, or |
| 8 | * (at your option) 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. |
| 14 | * |
| 15 | * You should have received a copy of the GNU General Public License |
| 16 | * along with this program. If not, see <http://www.gnu.org/licenses/>. |
| 17 | */ |
| 18 | |
| 19 | #if !defined(AFX_AMBIENTSOUNDPATTERN_H__D3451741_3680_11D2_A13A_0060089A8026__INCLUDED_) |
| 20 | #define AFX_AMBIENTSOUNDPATTERN_H__D3451741_3680_11D2_A13A_0060089A8026__INCLUDED_ |
| 21 | |
| 22 | #if _MSC_VER >= 1000 |
| 23 | #pragma once |
| 24 | #endif // _MSC_VER >= 1000 |
| 25 | // AmbientSoundPattern.h : header file |
| 26 | // |
| 27 | |
| 28 | ///////////////////////////////////////////////////////////////////////////// |
| 29 | // CAmbientSoundPattern dialog |
| 30 | |
| 31 | class CAmbientSoundPattern : public CDialog { |
| 32 | // Construction |
| 33 | public: |
| 34 | CAmbientSoundPattern(CWnd *pParent = NULL); // standard constructor |
| 35 | |
| 36 | // Dialog Data |
| 37 | //{{AFX_DATA(CAmbientSoundPattern) |
| 38 | enum { IDD = IDD_AMBIENTSOUNDPATTERNS }; |
| 39 | // NOTE: the ClassWizard will add data members here |
| 40 | //}}AFX_DATA |
| 41 | |
| 42 | // Overrides |
| 43 | // ClassWizard generated virtual function overrides |
| 44 | //{{AFX_VIRTUAL(CAmbientSoundPattern) |
| 45 | protected: |
| 46 | virtual void DoDataExchange(CDataExchange *pDX); // DDX/DDV support |
| 47 | //}}AFX_VIRTUAL |
| 48 | |
| 49 | // Implementation |
| 50 | protected: |
| 51 | // Generated message map functions |
| 52 | //{{AFX_MSG(CAmbientSoundPattern) |
| 53 | virtual BOOL OnInitDialog(); |
| 54 | afx_msg void OnSelendokASPList(); |
| 55 | afx_msg void OnASPCheckIn(); |
| 56 | afx_msg void OnASPDelete(); |
| 57 | afx_msg void OnASPEditElement(); |
| 58 | afx_msg void OnASPLock(); |
| 59 | afx_msg void OnASPNew(); |
| 60 | afx_msg void OnASPNewElement(); |
| 61 | afx_msg void OnASPRename(); |
| 62 | afx_msg void OnSelchangeASPElementList(); |
| 63 | afx_msg void OnASPDeleteElement(); |
| 64 | virtual void OnCancel(); |
| 65 | virtual void OnOK(); |
| 66 | afx_msg void OnASPUndoLock(); |
| 67 | afx_msg void OnKillfocusASPMaxDelay(); |
| 68 | afx_msg void OnKillfocusASPMinDelay(); |
| 69 | //}}AFX_MSG |
| 70 | DECLARE_MESSAGE_MAP() |
| 71 | |
| 72 | private: |
| 73 | void UpdateDialog(); |
| 74 | |
| 75 | bool m_locked; |
| 76 | int m_current_asp; |
| 77 | int m_current_element; |
| 78 | }; |
| 79 | |
| 80 | //{{AFX_INSERT_LOCATION}} |
| 81 | // Microsoft Developer Studio will insert additional declarations immediately before the previous line. |
| 82 | |
| 83 | #endif // !defined(AFX_AMBIENTSOUNDPATTERN_H__D3451741_3680_11D2_A13A_0060089A8026__INCLUDED_) |