Files
envi-code/SourceCode/Code2026/Pool3dCmd/AddPoolCellDlg.h
T
gjm 164968b62e chore
把非utf8-bom编码的cpp/h文件改为 utf8 bom 编码, msvc识别utf8编码时,如果不是bom格式的,会使用当前cp_oem来解码.
2026-10-04 00:04:20 +08:00

41 lines
885 B
C++

#pragma once
#include "resource.h"
#include "TextStyleComboBox.h"
class CAddPoolCellDlg : public CDialog
{
DECLARE_DYNAMIC(CAddPoolCellDlg)
public:
CAddPoolCellDlg(bool bCircle, bool bArray, CWnd* pParent = NULL);
virtual ~CAddPoolCellDlg();
enum { IDD = IDD_DLG_ADD_POOLCELL };
protected:
virtual void DoDataExchange(CDataExchange* pDX);
virtual BOOL OnInitDialog();
DECLARE_MESSAGE_MAP()
afx_msg void OnBnClickedOk();
void RefreshUI();
public:
AcGeVector3d GetDir() const;
AcGeVector3d GetNormal() const;
AcGePoint3d Center2LeftTop(const AcGePoint3d &ptCenter) const;
AcGePoint3d LeftTop2Center(const AcGePoint3d &ptLT) const;
public:
bool m_bCircle;
bool m_bArray;
double m_dH;
double m_dL;
double m_dW;
double m_dA;
double m_dR;
double m_dTH;
int m_iHorCount;
int m_iVerCount;
CString m_sTStyle;
CTextStyleComboBox m_cmbTStyle;
CString m_sName;
};