Files
itgmania212121/stepmania/src/smpackage/EditMetricsDlg.h
T

66 lines
1.7 KiB
C++

#if !defined(AFX_EDITMETRICSDLG_H__39D944CD_BCE4_4C30_876E_0B5A0CE42931__INCLUDED_)
#define AFX_EDITMETRICSDLG_H__39D944CD_BCE4_4C30_876E_0B5A0CE42931__INCLUDED_
#if _MSC_VER > 1000
#pragma once
#endif // _MSC_VER > 1000
// EditMetricsDlg.h : header file
//
#include "TreeCtrlEx.h"
/////////////////////////////////////////////////////////////////////////////
// EditMetricsDlg dialog
class EditMetricsDlg : public CDialog
{
// Construction
public:
EditMetricsDlg(CWnd* pParent = NULL); // standard constructor
// Dialog Data
//{{AFX_DATA(EditMetricsDlg)
enum { IDD = IDD_EDIT_METRICS };
CEdit m_editValue;
CEdit m_editDefault;
CButton m_buttonRemove;
CButton m_buttonOverride;
CTreeCtrlEx m_tree;
//}}AFX_DATA
CString m_sTheme;
// Overrides
// ClassWizard generated virtual function overrides
//{{AFX_VIRTUAL(EditMetricsDlg)
protected:
virtual void DoDataExchange(CDataExchange* pDX); // DDX/DDV support
//}}AFX_VIRTUAL
// Implementation
protected:
// Generated message map functions
//{{AFX_MSG(EditMetricsDlg)
virtual BOOL OnInitDialog();
afx_msg void OnSelchangedTree(NMHDR* pNMHDR, LRESULT* pResult);
afx_msg void OnButtonOverride();
afx_msg void OnButtonRemove();
afx_msg void OnButtonNew();
afx_msg void OnButtonSave();
afx_msg void OnChangeEditValue();
afx_msg void OnButtonHelp();
afx_msg void OnDblclkTree(NMHDR* pNMHDR, LRESULT* pResult);
afx_msg void OnButtonClose();
//}}AFX_MSG
DECLARE_MESSAGE_MAP()
void RefreshTree();
void GetSelectedKeyAndName( CString& sKeyOut, CString& sNameOut );
};
//{{AFX_INSERT_LOCATION}}
// Microsoft Visual C++ will insert additional declarations immediately before the previous line.
#endif // !defined(AFX_EDITMETRICSDLG_H__39D944CD_BCE4_4C30_876E_0B5A0CE42931__INCLUDED_)