73 lines
2.1 KiB
C++
73 lines
2.1 KiB
C++
#if !defined(AFX_FORTIFYCOLUMNDLG_H__B7D31763_7254_4D27_A096_83F520D7AE8C__INCLUDED_)
|
|||
|
|
#define AFX_FORTIFYCOLUMNDLG_H__B7D31763_7254_4D27_A096_83F520D7AE8C__INCLUDED_
|
||
|
|
|
||
|
|
#if _MSC_VER > 1000
|
||
|
|
#pragma once
|
||
|
|
#endif // _MSC_VER > 1000
|
||
|
|
// FortifyColumnDlg.h : header file
|
||
|
|
//
|
||
|
|
#include "Resource.h"
|
||
|
|
|
||
|
|
/////////////////////////////////////////////////////////////////////////////
|
||
|
|
// CFortifyColumnDlg dialog
|
||
|
|
|
||
|
|
class CFortifyColumnDlg : public GlwCAcUiDialog
|
||
|
|
{
|
||
|
|
DECLARE_DYNAMIC(CFortifyColumnDlg)
|
||
|
|
// Construction
|
||
|
|
public:
|
||
|
|
CFortifyColumnDlg(CWnd* pParent = NULL); // standard constructor
|
||
|
|
CFortifyColumnDlg(const AcDbObjectIdArray &idWallArray,XPoint ptRef1,XPoint ptRef2,XPoint ptRef3,XPoint ptRef4,CWnd* pParent=NULL);
|
||
|
|
|
||
|
|
// Dialog Data
|
||
|
|
//{{AFX_DATA(CFortifyColumnDlg)
|
||
|
|
enum { IDD = IDD_FORTIFY_COLUMN };
|
||
|
|
CComboBox m_BD;
|
||
|
|
CComboBox m_AC;
|
||
|
|
CString m_csAC;
|
||
|
|
CString m_csBD;
|
||
|
|
int m_iA;
|
||
|
|
int m_iD;
|
||
|
|
BOOL m_bM;
|
||
|
|
//}}AFX_DATA
|
||
|
|
int m_WallCount;
|
||
|
|
AcDbObjectIdArray m_idWallArray;
|
||
|
|
XPoint m_ptRef1,m_ptRef2,m_ptRef3,m_ptRef4;
|
||
|
|
XPoly2D m_ColumnPoly;
|
||
|
|
|
||
|
|
// Overrides
|
||
|
|
// ClassWizard generated virtual function overrides
|
||
|
|
//{{AFX_VIRTUAL(CFortifyColumnDlg)
|
||
|
|
protected:
|
||
|
|
virtual void DoDataExchange(CDataExchange* pDX); // DDX/DDV support
|
||
|
|
//}}AFX_VIRTUAL
|
||
|
|
|
||
|
|
// Implementation
|
||
|
|
protected:
|
||
|
|
BOOL IsFullSize();
|
||
|
|
XPointList GetColumnPoint();
|
||
|
|
void GetColumnPoly();
|
||
|
|
void HighlightWallColumn();
|
||
|
|
void UpdateImage();
|
||
|
|
CPoint ConvertPoint(XPoint ptZero,XPoint pt,double Scale);
|
||
|
|
void CalTextLocate(CDC* pDC,CPoint& ptTxt,CRect rect,CString szText);
|
||
|
|
void DrawLine(CDC* pDC,CPoint pt1,CPoint pt2,int nWidth,COLORREF clr);
|
||
|
|
|
||
|
|
// Generated message map functions
|
||
|
|
//{{AFX_MSG(CFortifyColumnDlg)
|
||
|
|
virtual BOOL OnInitDialog();
|
||
|
|
afx_msg void OnRadioAC();
|
||
|
|
afx_msg void OnRadioBD();
|
||
|
|
afx_msg void OnCheckM();
|
||
|
|
virtual void OnOK();
|
||
|
|
afx_msg void OnKillfocusComboAc();
|
||
|
|
afx_msg void OnKillfocusComboBd();
|
||
|
|
afx_msg void OnPaint();
|
||
|
|
//}}AFX_MSG
|
||
|
|
DECLARE_MESSAGE_MAP()
|
||
|
|
};
|
||
|
|
|
||
|
|
//{{AFX_INSERT_LOCATION}}
|
||
|
|
// Microsoft Visual C++ will insert additional declarations immediately before the previous line.
|
||
|
|
|
||
|
|
#endif // !defined(AFX_FORTIFYCOLUMNDLG_H__B7D31763_7254_4D27_A096_83F520D7AE8C__INCLUDED_)
|