📄 setting.cpp
字号:
// Setting.cpp : implementation file
//
#include "stdafx.h"
#include "KMA.h"
#include "Setting.h"
#ifdef _DEBUG
#define new DEBUG_NEW
#undef THIS_FILE
static char THIS_FILE[] = __FILE__;
#endif
/////////////////////////////////////////////////////////////////////////////
// CSetting dialog
CSetting::CSetting(CWnd* pParent /*=NULL*/)
: CDialog(CSetting::IDD, pParent)
{
//{{AFX_DATA_INIT(CSetting)
m_category = 3;
m_seed1 = 1;
m_seed2 = 51;
m_seed3 = 101;
m_seed4 = 0;
//}}AFX_DATA_INIT
}
void CSetting::DoDataExchange(CDataExchange* pDX)
{
CDialog::DoDataExchange(pDX);
//{{AFX_DATA_MAP(CSetting)
DDX_Text(pDX, IDC_CATEGORY, m_category);
DDV_MinMaxInt(pDX, m_category, 1, 4);
DDX_Text(pDX, IDC_SEED1, m_seed1);
DDX_Text(pDX, IDC_SEED2, m_seed2);
DDX_Text(pDX, IDC_SEED3, m_seed3);
DDX_Text(pDX, IDC_SEED4, m_seed4);
//}}AFX_DATA_MAP
}
BEGIN_MESSAGE_MAP(CSetting, CDialog)
//{{AFX_MSG_MAP(CSetting)
// NOTE: the ClassWizard will add message map macros here
//}}AFX_MSG_MAP
END_MESSAGE_MAP()
/////////////////////////////////////////////////////////////////////////////
// CSetting message handlers
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -