1 #if !defined(AFX_SOUNDPAGE_H__930378AF_E242_40AD_BF1F_882AAED43945__INCLUDED_)
2 #define AFX_SOUNDPAGE_H__930378AF_E242_40AD_BF1F_882AAED43945__INCLUDED_
6 #endif // _MSC_VER > 1000
8 #include "../src/sound/sound.h"
9 #include "nel/sound/u_audio_mixer.h"
10 using namespace NLSOUND
;
15 // SoundPage.h : header file
18 /////////////////////////////////////////////////////////////////////////////
21 class CSoundPage
: public CDialog
25 CSoundPage(CWnd
* pParent
= NULL
); // standard constructor
28 //{{AFX_DATA(CSoundPage)
29 enum { IDD
= IDD_SoundPage
};
48 // ClassWizard generated virtual function overrides
49 //{{AFX_VIRTUAL(CSoundPage)
51 virtual BOOL
DestroyWindow();
53 virtual void DoDataExchange(CDataExchange
* pDX
); // DDX/DDV support
57 void setTree( CTreeCtrl
*tree
) { _Tree
= tree
; }
58 void setCurrentSound( CSound
*sound
, HTREEITEM hitem
);
59 void getPropertiesFromSound();
64 void rename( CString s
);
69 // Generated message map functions
70 //{{AFX_MSG(CSoundPage)
71 afx_msg
void OnPos3D();
72 afx_msg
void OnChooseFile();
73 afx_msg
void OnCancel();
74 afx_msg
void OnRemove();
75 afx_msg
void OnPlaySound();
76 afx_msg
void OnClose();
77 afx_msg
void OnLooped();
78 virtual BOOL
OnInitDialog();
79 afx_msg
void OnChangeEditInnerAngle();
80 afx_msg
void OnChangeEditOuterAngle();
81 afx_msg
void OnPaint();
82 afx_msg
void OnChangeEditOuterGain();
83 afx_msg
void OnHScroll(UINT nSBCode
, UINT nPos
, CScrollBar
* pScrollBar
);
84 afx_msg
void OnChangeEditMinDist();
85 afx_msg
void OnChangeEditMaxDist();
86 afx_msg
void OnButtonHelp();
87 afx_msg
void OnChangeEditGain();
88 afx_msg
void OnButtonTestOuterGain();
89 afx_msg
void OnChangeEditPitch();
90 afx_msg
void OnHome();
94 CSound
*_CurrentSound
;
97 UAudioMixer
*_AudioMixer
;
101 void UpdateCurrentSound();
104 void Play( bool ousidecone
);
108 //{{AFX_INSERT_LOCATION}}
109 // Microsoft Visual C++ will insert additional declarations immediately before the previous line.
111 #endif // !defined(AFX_SOUNDPAGE_H__930378AF_E242_40AD_BF1F_882AAED43945__INCLUDED_)