Initial community commit
This commit is contained in:
parent
537bcbc862
commit
fc06254474
16440 changed files with 4239995 additions and 2 deletions
|
@ -0,0 +1,40 @@
|
|||
/*
|
||||
* SampleConfigDlg.h
|
||||
* -------------------
|
||||
* Purpose: Implementation of the sample/instrument editor settings dialog.
|
||||
* Notes : (currently none)
|
||||
* Authors: OpenMPT Devs
|
||||
* The OpenMPT source code is released under the BSD license. Read LICENSE for more details.
|
||||
*/
|
||||
|
||||
|
||||
#pragma once
|
||||
|
||||
#include "openmpt/all/BuildSettings.hpp"
|
||||
|
||||
OPENMPT_NAMESPACE_BEGIN
|
||||
|
||||
class COptionsSampleEditor : public CPropertyPage
|
||||
{
|
||||
protected:
|
||||
CComboBox m_cbnDefaultSampleFormat, m_cbnDefaultVolumeHandling;
|
||||
|
||||
public:
|
||||
COptionsSampleEditor() : CPropertyPage(IDD_OPTIONS_SAMPLEEDITOR) { }
|
||||
|
||||
protected:
|
||||
|
||||
BOOL OnInitDialog() override;
|
||||
void OnOK() override;
|
||||
void DoDataExchange(CDataExchange* pDX) override;
|
||||
BOOL OnSetActive() override;
|
||||
|
||||
void RecalcUndoSize();
|
||||
|
||||
afx_msg void OnHScroll(UINT /*nSBCode*/, UINT /*nPos*/, CScrollBar* /*pScrollBar*/) { OnSettingsChanged(); }
|
||||
afx_msg void OnSettingsChanged() { SetModified(TRUE); }
|
||||
afx_msg void OnUndoSizeChanged();
|
||||
DECLARE_MESSAGE_MAP();
|
||||
};
|
||||
|
||||
OPENMPT_NAMESPACE_END
|
Loading…
Add table
Add a link
Reference in a new issue