📄 formcommandview.h
字号:
#if !defined(AFX_FORMCOMMANDVIEW_H__040CB162_69B7_48F8_82A6_885F9A2B6E1F__INCLUDED_)
#define AFX_FORMCOMMANDVIEW_H__040CB162_69B7_48F8_82A6_885F9A2B6E1F__INCLUDED_
#if _MSC_VER > 1000
#pragma once
#endif // _MSC_VER > 1000
// FormCommandView.h : header file
//
/////////////////////////////////////////////////////////////////////////////
// CFormCommandView form view
#ifndef __AFXEXT_H__
#include <afxext.h>
#endif
#include "xTargetButton.h"
class CFormCommandView : public CFormView
{
protected:
CFormCommandView(); // protected constructor used by dynamic creation
DECLARE_DYNCREATE(CFormCommandView)
// Form Data
public:
//{{AFX_DATA(CFormCommandView)
enum { IDD = IDD_FORMCOMMANDVIEW_FORM };
CStatic m_ControlBackColor;
CStatic m_ControlColorLightSpecular;
CStatic m_ControlColorLightDiffuse;
CStatic m_ControlColorLightAmbient;
COLORREF BackColor;
COLORREF AmbientColor;
COLORREF DiffuseColor;
COLORREF SpecularColor;
CButton m_fvrot;
CButton m_fvpan;
CButton m_fvzoom;
CButton m_fvsurf;
CButton m_fvvertex;
CButton m_fvline;
CButton m_fvshowmode;
CButton m_fvbox;
CButton m_fvaxis;
CSliderCtrl m_fvptsizeslder;
CxTargetButton m_fvlit_r;
CxTargetButton m_fvlit_g;
CxTargetButton m_fvlit_b;
// NOTE: the ClassWizard will add data members here
//}}AFX_DATA
// Attributes
public:
CView *GetRBFModelorView();
// Operations
public:
// Overrides
// ClassWizard generated virtual function overrides
//{{AFX_VIRTUAL(CFormCommandView)
public:
virtual void OnInitialUpdate();
protected:
virtual void DoDataExchange(CDataExchange* pDX); // DDX/DDV support
virtual BOOL OnCommand(WPARAM wParam, LPARAM lParam);
//}}AFX_VIRTUAL
// Implementation
protected:
virtual ~CFormCommandView();
#ifdef _DEBUG
virtual void AssertValid() const;
virtual void Dump(CDumpContext& dc) const;
#endif
// Generated message map functions
//{{AFX_MSG(CFormCommandView)
afx_msg void OnLButtonUp(UINT nFlags, CPoint point);
afx_msg void OnPaint();
afx_msg void OnRadioRotation();
afx_msg void OnRadioPan();
afx_msg void OnRadioZoom();
afx_msg void OnRadioSurf();
afx_msg void OnRadioLine();
afx_msg void OnRadioPoint();
afx_msg void OnCheckShowmode();
afx_msg void OnCustomdrawSliderPointsize(NMHDR* pNMHDR, LRESULT* pResult);
afx_msg void OnCenbox();
afx_msg void OnCheckAxes();
//}}AFX_MSG
afx_msg LRESULT OnMyMessageMesh(WPARAM wParam, LPARAM lParam);
DECLARE_MESSAGE_MAP()
};
/////////////////////////////////////////////////////////////////////////////
//{{AFX_INSERT_LOCATION}}
// Microsoft Visual C++ will insert additional declarations immediately before the previous line.
#endif // !defined(AFX_FORMCOMMANDVIEW_H__040CB162_69B7_48F8_82A6_885F9A2B6E1F__INCLUDED_)
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -