81 lines
2.4 KiB
C++
81 lines
2.4 KiB
C++
#if !defined(AFX_ARCSTAIRDLG_H__3B2922DF_1752_460E_83A4_8FF8D18E98EB__INCLUDED_)
|
|
#define AFX_ARCSTAIRDLG_H__3B2922DF_1752_460E_83A4_8FF8D18E98EB__INCLUDED_
|
|
|
|
#if _MSC_VER > 1000
|
|
#pragma once
|
|
#endif // _MSC_VER > 1000
|
|
// ArcStairDlg.h : header file
|
|
//
|
|
#include "BaseStairDlg.h"
|
|
#include "ArcStairDlg.h"
|
|
/////////////////////////////////////////////////////////////////////////////
|
|
// CArcStairDlg dialog
|
|
class CArcStairDlg : public CBaseStairDlg
|
|
{
|
|
public:
|
|
DECLARE_DYNAMIC(CArcStairDlg)
|
|
CArcStairDlg(CWnd* pParent = NULL);
|
|
|
|
virtual void Dlg2Obj(AcDbEntity *pStep);
|
|
virtual void Obj2Dlg(const AcDbEntity *pStep);
|
|
virtual AcDbEntity *NewObject();
|
|
~CArcStairDlg();
|
|
virtual bool UpdateEdit(UINT ctrlID,bool bReportError=false);
|
|
//增加了对内外径和宽度动态变化的处理,增加了对圆心角、起始角的处理。
|
|
|
|
// Dialog Data
|
|
//{{AFX_DATA(CArcStairDlg)
|
|
enum { IDD = IDD_ARCSTAIR };
|
|
//}}AFX_DATA
|
|
|
|
static CString m_strInRadius;
|
|
static CString m_strStartAngle;
|
|
static CString m_strSweepAngle;
|
|
static CString m_strOutRadius;
|
|
static CString m_strStairWidth;
|
|
|
|
static int m_nFace;
|
|
static int m_nLocate;
|
|
// ----------------------------------- [9/28/2007 nsh]
|
|
WGroupCtrl m_group;
|
|
static BOOL m_bgroupStatus;
|
|
//以下用于备份和判断是否编辑状态的参数
|
|
BOOL m_bEdit;//是否处于编辑状态
|
|
TDbArcStair *m_pBakObj;//备份状态
|
|
|
|
// Overrides
|
|
// ClassWizard generated virtual function overrides
|
|
//{{AFX_VIRTUAL(CArcStairDlg)
|
|
protected:
|
|
virtual void DoDataExchange(CDataExchange* pDX); // DDX/DDV support
|
|
//}}AFX_VIRTUAL
|
|
|
|
// Implementation
|
|
protected:
|
|
|
|
// Generated message map functions
|
|
//{{AFX_MSG(CArcStairDlg)
|
|
afx_msg void OnBtStartangle();
|
|
afx_msg void OnLocate();
|
|
afx_msg void OnPickRadiusIn();
|
|
afx_msg void OnPickRadiusOut();
|
|
afx_msg void OnKFRadiusOut();
|
|
afx_msg void OnKFRadiusIn();
|
|
afx_msg void OnKFStairWidth();
|
|
afx_msg void OnKFSweepAngle();
|
|
afx_msg void OnKFStartAngle();
|
|
afx_msg void OnChangeRadiusOut();
|
|
afx_msg void OnChangeRadiusIn();
|
|
afx_msg void OnChangeStairWidth();
|
|
afx_msg void OnChangeStartAngle();
|
|
afx_msg void OnChangeSweepAngle();
|
|
virtual BOOL OnInitDialog();
|
|
//}}AFX_MSG
|
|
DECLARE_MESSAGE_MAP()
|
|
};
|
|
|
|
//{{AFX_INSERT_LOCATION}}
|
|
// Microsoft Visual C++ will insert additional declarations immediately before the previous line.
|
|
|
|
#endif // !defined(AFX_ARCSTAIRDLG_H__3B2922DF_1752_460E_83A4_8FF8D18E98EB__INCLUDED_)
|