📄 setdlg.h
字号:
#if !defined(AFX_SETDLG_H__3333D874_2E0C_4419_95C5_C5E47BDEF7D8__INCLUDED_)
#define AFX_SETDLG_H__3333D874_2E0C_4419_95C5_C5E47BDEF7D8__INCLUDED_
#if _MSC_VER > 1000
#pragma once
#endif // _MSC_VER > 1000
// SetDlg.h : header file
//
/////////////////////////////////////////////////////////////////////////////
// CSetDlg dialog
#include "ParamStruct.h"
class CSetDlg : public CDialog
{
// Construction
public:
CSetDlg(CWnd* pParent = NULL); // standard constructor
// Dialog Data
//{{AFX_DATA(CSetDlg)
enum { IDD = IDD_SET };
CComboBox m_comboObjSort;
float m_fLAxisAdd;
float m_fObjRadius;
float m_fSAxisAdd;
int m_nReflectCount;
float m_fShineIntensity;
float m_fSAxisFrom;
int m_nAllPhoton;
float m_fLAxisFrom;
int m_nRandomSimulateNum;
float m_fError;
//}}AFX_DATA
// Overrides
// ClassWizard generated virtual function overrides
//{{AFX_VIRTUAL(CSetDlg)
protected:
virtual void DoDataExchange(CDataExchange* pDX); // DDX/DDV support
//}}AFX_VIRTUAL
public:
virtual BOOL PreTranslateMessage(MSG* pMsg);
void ChangeSet(SetParam sp);
void ApplySet(SetParam& sp); //应用设置
int m_nObjSort;
// Implementation
protected:
CToolTipCtrl m_tooltip;
HICON m_hIcon;
SetParam m_SetParam;
CBitmap m_bitOk,m_bitCancel;
// Generated message map functions
//{{AFX_MSG(CSetDlg)
virtual BOOL OnInitDialog();
virtual void OnOK();
afx_msg void OnChangeEditObjr();
afx_msg void OnChangeEditShineintensity();
afx_msg void OnBtnDefault();
//}}AFX_MSG
DECLARE_MESSAGE_MAP()
};
//{{AFX_INSERT_LOCATION}}
// Microsoft Visual C++ will insert additional declarations immediately before the previous line.
#endif // !defined(AFX_SETDLG_H__3333D874_2E0C_4419_95C5_C5E47BDEF7D8__INCLUDED_)
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -