69 lines
2.2 KiB
C++
69 lines
2.2 KiB
C++
#if !defined(AFX_COMPOSINGDLG_H__28F2915C_11A5_4382_B5D0_81AFFCF37167__INCLUDED_)
|
|
#define AFX_COMPOSINGDLG_H__28F2915C_11A5_4382_B5D0_81AFFCF37167__INCLUDED_
|
|
|
|
#if _MSC_VER > 1000
|
|
#pragma once
|
|
#endif // _MSC_VER > 1000
|
|
// ComposingDlg.h : header file
|
|
//
|
|
/////////////////////////////////////////////////////////////////////////////
|
|
// CComposingDlg dialog
|
|
#include "Resource.h"
|
|
#include "BaseTextDlg.h"
|
|
#include "dbSymbolAnnotate.h"
|
|
|
|
class CComposingDlg : public CBaseTextDlg
|
|
{
|
|
// Construction
|
|
public:
|
|
DECLARE_DYNAMIC(CComposingDlg)
|
|
CComposingDlg(CWnd* pParent = NULL); // standard constructor
|
|
virtual void Dlg2Obj(TDbSymbComposing *pText);
|
|
virtual void Obj2Dlg(TDbSymbComposing *pText);
|
|
|
|
// Dialog Data
|
|
//{{AFX_DATA(CComposingDlg)
|
|
enum { IDD = IDD_COMPOSING_TEXT };
|
|
CEdit m_editInputText;
|
|
// int m_nSide; // sg delete 081103
|
|
//}}AFX_DATA
|
|
static BOOL m_bContinue; // Add by lcf on 2005-06-29
|
|
static int m_nSide; // sg add 081103,保存上次的“标注方式”
|
|
|
|
// add by xly on 100916 支持圆点标注
|
|
static BOOL m_bHasCirPoint; // 是否有圆点
|
|
static CString m_csPointSize; // 圆点大小
|
|
BOOL m_bHasPoint; // 是否有标注点,对象编辑时使用
|
|
CString m_csPointSizeTemp;// 圆点大小标记
|
|
|
|
// add by xly on 100916,设置对话框控件不可用
|
|
void SetLableEnable(BOOL bShow);
|
|
TDbSymbComposing *m_pComposing; // add by xly on 101227 对象编辑时使用
|
|
|
|
// Overrides
|
|
// ClassWizard generated virtual function overrides
|
|
//{{AFX_VIRTUAL(CComposingDlg)
|
|
protected:
|
|
virtual void DoDataExchange(CDataExchange* pDX); // DDX/DDV support
|
|
//}}AFX_VIRTUAL
|
|
|
|
virtual CWnd* GetCurWnd();
|
|
// Implementation
|
|
protected:
|
|
|
|
// Generated message map functions
|
|
//{{AFX_MSG(CComposingDlg)
|
|
virtual BOOL OnInitDialog();
|
|
afx_msg void OnSize(UINT nType, int cx, int cy);
|
|
afx_msg void OnHasPoint(); // add xly on 100916
|
|
afx_msg void OnButtonAddPoint();// add by xly on 100921
|
|
afx_msg void OnKillFocusPointSize();// add by xly on 101221
|
|
//}}AFX_MSG
|
|
DECLARE_MESSAGE_MAP()
|
|
};
|
|
|
|
//{{AFX_INSERT_LOCATION}}
|
|
// Microsoft Visual C++ will insert additional declarations immediately before the previous line.
|
|
|
|
#endif // !defined(AFX_COMPOSINGDLG_H__28F2915C_11A5_4382_B5D0_81AFFCF37167__INCLUDED_)
|