80 lines
2.1 KiB
C++
80 lines
2.1 KiB
C++
#if !defined(AFX_DIMPIPEGRADIENTDLG_H__1E84A111_AF98_476F_9911_57FD8FBEC386__INCLUDED_)
|
|
#define AFX_DIMPIPEGRADIENTDLG_H__1E84A111_AF98_476F_9911_57FD8FBEC386__INCLUDED_
|
|
|
|
#if _MSC_VER > 1000
|
|
#pragma once
|
|
#endif // _MSC_VER > 1000
|
|
// DimPipeGradientDlg.h : header file
|
|
//
|
|
|
|
/////////////////////////////////////////////////////////////////////////////
|
|
// CDimPipeGradientDlg dialog
|
|
#include "Resource.h"
|
|
//#include <ModelessDialog.h>
|
|
|
|
class CDimPipeGradientDlg : public CModelessDialog
|
|
{
|
|
// Construction
|
|
public:
|
|
CDimPipeGradientDlg(CWnd* pParent = NULL); // standard constructor
|
|
DECLARE_DYNAMIC(CDimPipeGradientDlg)
|
|
~CDimPipeGradientDlg()
|
|
{
|
|
if(::IsWindow(m_hWnd))
|
|
DestroyWindow();
|
|
}
|
|
|
|
// Dialog Data
|
|
//{{AFX_DATA(CDimPipeGradientDlg)
|
|
enum { IDD = IDD_DIM_PIPE_GRADIENT };
|
|
BOOL m_bArrowHalf;
|
|
int m_iMode;
|
|
// double m_dArrow; cet 2010.7.19 del
|
|
//}}AFX_DATA
|
|
static CString m_csGradient;
|
|
static double m_nTextHeight;
|
|
static double m_nArrowLen;
|
|
static double m_dArrow; // cet 2010.7.19 add
|
|
static BOOL m_bOnlyArrow;
|
|
static BOOL m_bOnLine;
|
|
static BOOL m_bGradient;
|
|
static BOOL m_bPipeLen;
|
|
|
|
BOOL m_bChangeMode;
|
|
BOOL m_bPick;
|
|
double m_dRefGradient;
|
|
// Overrides
|
|
// ClassWizard generated virtual function overrides
|
|
//{{AFX_VIRTUAL(CDimPipeGradientDlg)
|
|
protected:
|
|
virtual void DoDataExchange(CDataExchange* pDX); // DDX/DDV support
|
|
//}}AFX_VIRTUAL
|
|
|
|
// Implementation
|
|
protected:
|
|
|
|
// Generated message map functions
|
|
//{{AFX_MSG(CDimPipeGradientDlg)
|
|
afx_msg void OnRadioSingle();
|
|
afx_msg void OnRadioAll();
|
|
afx_msg void OnClose();
|
|
virtual BOOL OnInitDialog();
|
|
afx_msg void OnButtonPick();
|
|
afx_msg void OnCheckOnlyarrow();
|
|
afx_msg void OnCheckLen();
|
|
afx_msg void OnCheckGradient();
|
|
//}}AFX_MSG
|
|
DECLARE_MESSAGE_MAP()
|
|
public:
|
|
afx_msg void OnDestroy();
|
|
void WriteRegData();
|
|
afx_msg void OnEnKillfocusEditTextHeight();
|
|
afx_msg void OnEnKillfocusEditArrow();
|
|
afx_msg void OnEnKillfocusEditArrowLen();
|
|
};
|
|
|
|
//{{AFX_INSERT_LOCATION}}
|
|
// Microsoft Visual C++ will insert additional declarations immediately before the previous line.
|
|
|
|
#endif // !defined(AFX_DIMPIPEGRADIENTDLG_H__1E84A111_AF98_476F_9911_57FD8FBEC386__INCLUDED_)
|