2001-04-06 20:59:39 +02:00
|
|
|
#if !defined(AFX_GUILAYERTRIGGER_H__AD953411_95E5_4401_965F_EF988C489530__INCLUDED_)
|
|
|
|
#define AFX_GUILAYERTRIGGER_H__AD953411_95E5_4401_965F_EF988C489530__INCLUDED_
|
|
|
|
|
|
|
|
#if _MSC_VER > 1000
|
|
|
|
#pragma once
|
|
|
|
#endif // _MSC_VER > 1000
|
|
|
|
// GUILayerTrigger.h : header file
|
|
|
|
//
|
|
|
|
|
|
|
|
/////////////////////////////////////////////////////////////////////////////
|
|
|
|
// CGUILayerTrigger dialog
|
|
|
|
|
|
|
|
class CGUILayerTrigger : public CDialog
|
|
|
|
{
|
|
|
|
// Construction
|
|
|
|
public:
|
|
|
|
CGUILayerTrigger(CWnd* pParent = NULL); // standard constructor
|
|
|
|
|
|
|
|
// Dialog Data
|
|
|
|
//{{AFX_DATA(CGUILayerTrigger)
|
|
|
|
enum { IDD = IDD_LAYER_TRIGGER };
|
2001-07-26 18:51:29 +02:00
|
|
|
CEdit m_Val0;
|
|
|
|
CStatic m_ValText;
|
|
|
|
CSpinButtonCtrl m_ValSpin;
|
2001-05-05 23:18:12 +02:00
|
|
|
CSpinButtonCtrl m_TargetWSpin;
|
|
|
|
CSpinButtonCtrl m_TargetHSpin;
|
|
|
|
CStatic m_TargetWHTxt;
|
|
|
|
CEdit m_TargetW;
|
|
|
|
CEdit m_TargetH;
|
2001-04-30 23:49:54 +02:00
|
|
|
CStatic m_TargetTxt;
|
|
|
|
CSpinButtonCtrl m_TargetYSpin;
|
|
|
|
CSpinButtonCtrl m_TargetXSpin;
|
|
|
|
CEdit m_TargetY;
|
|
|
|
CEdit m_TargetX;
|
2001-04-09 16:56:05 +02:00
|
|
|
CSpinButtonCtrl m_WidthSpin;
|
|
|
|
CSpinButtonCtrl m_HeightSpin;
|
2001-04-07 23:05:33 +02:00
|
|
|
CEdit m_Width;
|
|
|
|
CEdit m_Height;
|
2001-04-06 20:59:39 +02:00
|
|
|
//}}AFX_DATA
|
|
|
|
|
|
|
|
|
|
|
|
// Overrides
|
|
|
|
// ClassWizard generated virtual function overrides
|
|
|
|
//{{AFX_VIRTUAL(CGUILayerTrigger)
|
|
|
|
protected:
|
|
|
|
virtual void DoDataExchange(CDataExchange* pDX); // DDX/DDV support
|
|
|
|
//}}AFX_VIRTUAL
|
|
|
|
|
|
|
|
// Implementation
|
2001-04-07 23:05:33 +02:00
|
|
|
|
|
|
|
public:
|
|
|
|
void DisableCallback(bool f) {CallbackFlag=f;}
|
|
|
|
void SetVal(CEdit &Dlg,int Number);
|
|
|
|
int GetVal(CEdit &Dlg);
|
2001-04-06 20:59:39 +02:00
|
|
|
protected:
|
2001-04-07 23:05:33 +02:00
|
|
|
bool CallbackFlag;
|
2001-04-06 20:59:39 +02:00
|
|
|
|
|
|
|
// Generated message map functions
|
|
|
|
//{{AFX_MSG(CGUILayerTrigger)
|
2001-04-07 23:05:33 +02:00
|
|
|
afx_msg void OnSelchangeTriggerType();
|
|
|
|
afx_msg void OnParamChange();
|
2001-04-06 20:59:39 +02:00
|
|
|
//}}AFX_MSG
|
|
|
|
DECLARE_MESSAGE_MAP()
|
|
|
|
};
|
|
|
|
|
|
|
|
//{{AFX_INSERT_LOCATION}}
|
|
|
|
// Microsoft Visual C++ will insert additional declarations immediately before the previous line.
|
|
|
|
|
|
|
|
#endif // !defined(AFX_GUILAYERTRIGGER_H__AD953411_95E5_4401_965F_EF988C489530__INCLUDED_)
|