You cannot select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

57 lines
2.0 KiB
C++

#pragma once
#include "MyDlgView.h"
#include "MyPictrueBttom.h"
#include "MyBttom.h"
//图形编辑面板
class CDlgGraphEdit : public CMyDlgView
{
DECLARE_DYNAMIC(CDlgGraphEdit)
public:
CDlgGraphEdit(CWnd* pParent = NULL); // 标准构造函数
virtual ~CDlgGraphEdit();
virtual UINT GetIDD(){return CDlgGraphEdit::IDD;};
virtual void UpdateLanguageTxt();
void UpdateObjPropList();
void InitPropList(CMFCPropertyGridCtrl &PropertyGridCtrl);
void InitObjSortDirComb();
void ShowAllItem();
enum { IDD = IDD_GRAPHICS_EDIT };
protected:
virtual void DoDataExchange(CDataExchange* pDX); // DDX/DDV 支持
afx_msg BOOL OnInitDialog();
void OnTimer(UINT nIDEvent);
DECLARE_MESSAGE_MAP()
private:
CFont m_fntPropList;
CMFCPropertyGridCtrl m_ObjPropList;
CComboBox m_ObjSortDirComb;
int m_InsertIdx;//插入位置的索引值
double m_AreaCrossPtRange;//用于创建扫描区域的交叉点范围mm
double m_CreatAreaGap;//生成区域的间隔mm
public:
afx_msg LRESULT OnPropertyChanged(WPARAM,LPARAM);
afx_msg void OnBnClickedFristObjBtn();
afx_msg void OnBnClickedNextObjBtn();
afx_msg void OnBnClickedPerObjBtn();
afx_msg void OnBnClickedInsertBtn();
afx_msg void OnBnClickedReverseOrderBtn();
afx_msg void OnBnClickedShowObjIdx();
afx_msg void OnBnClickedObjSortBtn();
afx_msg void OnBnClickedOpenObjBtn();
afx_msg void OnBnClickedSaveObjBtn();
afx_msg void OnBnClickedZoomFullBtn();
afx_msg void OnBnClickedZoomInBtn();
afx_msg void OnBnClickedZoomOutBtn();
afx_msg void OnStnClickedOpenMainDlg();
afx_msg void OnBnClickedCreatAreaBtn();
afx_msg void OnBnClickedOpenTxtBtn();
afx_msg void OnBnClickedSaveTxtBtn();
afx_msg void OnBnClickedShowObjPtCoord();
afx_msg void OnBnClickedOpenMapHistoryBtn();
};