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

73 lines
1.6 KiB
C++
Raw Permalink Blame History

This file contains ambiguous Unicode characters
This file contains Unicode characters that might be confused with other characters. If you think that this is intentional, you can safely ignore this warning. Use the Escape button to reveal them.
#ifndef _TCH_KERNCMD_SANSHUI_H_
#define _TCH_KERNCMD_SANSHUI_H_
#if _MSC_VER >= 1000
#pragma once
#endif // _MSC_VER >= 1000
#include "resource.h"
// add by xly,散水对话框工具条按钮
struct tbButtomSanShui
{
UINT tbID;
int BitmapID;
int Style;
};
/////////////////////////////////////////////////////////////////////////////
// CSanShuiDlg dialog
class CSanShuiDlg : public CModelessDialog
{
public:
CSanShuiDlg(CWnd* pParent = NULL);
//{{AFX_DATA(CSanShuiDlg)
enum { IDD = IDD_DIALOG_SANSHUI };
BOOL m_bCheck;
double m_dDiff;
double m_dOffset;
double m_dWidth;
BOOL m_bRoundColu; // sg add 081016,TArch8.0中,散水命令增加了绕柱子和绕阳台的设置
BOOL m_bRoundBalcony;
BOOL m_bRoudWallPatch; // add by xly on 110114, 增加绕墙体造型
//}}AFX_DATA
BOOL m_bUseEsc; // add by xly on 110114, 增加绘制类型切换记录
public: // add by xly on 110114, 增加工具栏
CToolBarCtrl m_toolbar;
tbButtomSanShui m_tbButtom[3];
static int s_nMode;
public:
void SetItemEnable(BOOL bEnable);
protected:
//{{AFX_VIRTUAL(CSanShuiDlg)
virtual void DoDataExchange(CDataExchange* pDX);
virtual BOOL OnInitDialog();
//}}AFX_VIRTUAL
protected:
//{{AFX_MSG(CSanShuiDlg)
afx_msg void OnToolButAuto();
afx_msg void OnToolButAny();
afx_msg void OnToolButFixPath();
afx_msg BOOL OnToolTipText( UINT, NMHDR * pNMHDR, LRESULT * pResult );
afx_msg void OnKillFocusWidth(); // 散水宽度焦点事件
afx_msg void OnKillFocusDiff(); // 散水室内外高度差焦点事件
afx_msg void OnKillFocusOffSet(); // 散水偏移距离焦点事件
//}}AFX_MSG
DECLARE_MESSAGE_MAP()
};
#endif