📄 pref.h
字号:
// Pref.h : header file
//
/////////////////////////////////////////////////////////////////////////////
// CPref dialog
class CPref : public CDialog
{
// Construction
public:
CPref(CWnd* pParent = NULL); // standard constructor
COLORREF *clist;
int s_action;
int s_coord;
int s_length;
int s_type;
// Dialog Data
//{{AFX_DATA(CPref)
enum { IDD = IDD_PREF };
CComboBox m_d_color;
CComboBox m_d_type;
CComboBox m_d_length;
CComboBox m_d_coord;
CComboBox m_d_action;
double m_d_freq;
double m_d_gridsize;
double m_d_pixels;
double m_d_prec;
BOOL m_d_showgrid;
BOOL m_d_snapgrid;
BOOL m_d_showorigin;
BOOL m_d_luaconsole;
BOOL m_d_shownames;
//}}AFX_DATA
// Overrides
// ClassWizard generated virtual function overrides
//{{AFX_VIRTUAL(CPref)
protected:
virtual void DoDataExchange(CDataExchange* pDX); // DDX/DDV support
//}}AFX_VIRTUAL
// Implementation
protected:
// Generated message map functions
//{{AFX_MSG(CPref)
afx_msg void OnModifyButton();
virtual BOOL OnInitDialog();
virtual void OnOK();
afx_msg void OnRestoreColors();
//}}AFX_MSG
DECLARE_MESSAGE_MAP()
public:
CLuaEdit m_IDC_d_freq, m_IDC_d_gridsize;
CLuaEdit m_IDC_d_pixels, m_IDC_d_prec;
};
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -