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

58 lines
1.5 KiB
C++

#ifndef _LINEWALL_DLG_H_
#define _LINEWALL_DLG_H_
#if _MSC_VER > 1000
#pragma once
#endif // _MSC_VER > 1000
#include "resource.h"
// 单线变墙对话框
// modified by xly 100602,根据8.5需求,增加墙体材料、底高、高度控件
class CLineWallDlg: public CModelessDialog
{
public:
CLineWallDlg(CWnd* pParent = NULL);
enum { IDD = IDD_LINEWALL };
public:
//{{AFX_DATA(CLineWallDlg)
static double m_nExtWidth; // 记录外墙外侧宽
static double m_nIntWidth; // 记录外墙内侧宽
static double m_nIntWallWidth; // 记录内墙宽
static CString m_csWallHeight; // 记录墙高度
static double m_dWallElev; // 记录墙的底高
static int m_iSelStyle; // 记录墙的材料
static int m_iAxisOrLine; // 轴网生墙、单线变墙
static BOOL g_bNoDeleteBase; // 记录是否删除基线
CSpinButtonCtrl m_spinInt; // 内侧宽,微调控件
CSpinButtonCtrl m_spinExt; // 外侧宽,微调控件
//}}AFX_DATA
public:
double GetHeight(); // 获得当前选择的高度
double GetElev(); // 获得当前选择的底高
TWallData::TWallStyle GetStyle(CString &sT20Mat); // 获得当前选择的材料类型
//{{AFX_VIRTUAL(CLineWallDlg)
protected:
virtual void DoDataExchange(CDataExchange* pDX);
virtual BOOL OnInitDialog();
//}}AFX_VIRTUAL
protected:
//{{AFX_MSG(CLineWallDlg)
afx_msg void OnClose();
afx_msg void OnAxisWall();
afx_msg void OnLine();
//}}AFX_MSG
DECLARE_MESSAGE_MAP()
};
#endif