mirror of
https://github.com/WinampDesktop/winamp.git
synced 2024-12-18 18:55:53 +01:00
43 lines
1.1 KiB
C++
43 lines
1.1 KiB
C++
/*
|
|
* GeneralConfigDlg.h
|
|
* ------------------
|
|
* Purpose: Implementation of the general 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 COptionsGeneral: public CPropertyPage
|
|
{
|
|
protected:
|
|
CEdit m_defaultArtist;
|
|
CComboBox m_defaultTemplate, m_defaultFormat;
|
|
CCheckListBox m_CheckList;
|
|
|
|
public:
|
|
COptionsGeneral() : CPropertyPage(IDD_OPTIONS_GENERAL) {}
|
|
|
|
protected:
|
|
BOOL OnInitDialog() override;
|
|
void OnOK() override;
|
|
BOOL OnSetActive() override;
|
|
void DoDataExchange(CDataExchange* pDX) override;
|
|
|
|
afx_msg void OnOptionSelChanged();
|
|
afx_msg void OnSettingsChanged() { SetModified(TRUE); }
|
|
afx_msg void OnBrowseTemplate();
|
|
afx_msg void OnDefaultTypeChanged() { CheckRadioButton(IDC_RADIO1, IDC_RADIO3, IDC_RADIO1); OnSettingsChanged(); }
|
|
afx_msg void OnTemplateChanged() { CheckRadioButton(IDC_RADIO1, IDC_RADIO3, IDC_RADIO3); OnSettingsChanged(); }
|
|
|
|
DECLARE_MESSAGE_MAP();
|
|
};
|
|
|
|
OPENMPT_NAMESPACE_END
|