Linux multi-monitor fullscreen support
[ryzomcore.git] / nel / tools / logic / logic_editor_dll / ConditionPage.h
blobad4e16c96afa7b2b34d026cf7570681c30407d85
1 #if !defined(AFX_CONDITIONPAGE_H__34B1DBCA_B747_4A2C_80F0_5DDC65B71D39__INCLUDED_)
2 #define AFX_CONDITIONPAGE_H__34B1DBCA_B747_4A2C_80F0_5DDC65B71D39__INCLUDED_
4 #if _MSC_VER > 1000
5 #pragma once
6 #endif // _MSC_VER > 1000
7 // ConditionPage.h : header file
8 //
10 //#include "ResizablePage.h"
12 #include "NumEdit.h"
13 #include "Condition.h"
17 class CLogic_editorDoc;
20 /////////////////////////////////////////////////////////////////////////////
21 // CConditionPage dialog
23 class CConditionPage : public CPropertyPage
25 DECLARE_DYNCREATE(CConditionPage)
27 // Construction
28 public:
29 CConditionPage();
30 ~CConditionPage();
32 void Update();
34 BOOL checkNodeValidity();
36 void addCondition( CLogic_editorDoc *pDoc, CCondition * condition );
38 // Dialog Data
39 //{{AFX_DATA(CConditionPage)
40 enum { IDD = IDD_PAGE_CONDITIONS };
41 CNumEdit m_ctrlComparand;
42 CString m_sType;
43 CString m_sOperator;
44 CString m_sVarName;
45 CString m_sSubCondName;
46 CString m_sConditionName;
47 double m_dComparand;
48 //}}AFX_DATA
50 public:
51 CCondition * m_pSelectedCondition;
52 CConditionNode * m_pSelectedConditionNode;
55 // Overrides
56 // ClassWizard generate virtual function overrides
57 //{{AFX_VIRTUAL(CConditionPage)
58 public:
59 virtual BOOL OnSetActive();
60 protected:
61 virtual void DoDataExchange(CDataExchange* pDX); // DDX/DDV support
62 //}}AFX_VIRTUAL
64 // Implementation
65 protected:
66 // Generated message map functions
67 //{{AFX_MSG(CConditionPage)
68 virtual BOOL OnInitDialog();
69 afx_msg void OnSelchangeComboNodeType();
70 afx_msg void OnButtonAddCondition();
71 afx_msg void OnButtonAddNode();
72 afx_msg void OnButtonCondApply();
73 afx_msg void OnButtonDeleteCondition();
74 afx_msg void OnButtonNodeApply();
75 afx_msg void OnButtonDeleteNode();
76 //}}AFX_MSG
77 DECLARE_MESSAGE_MAP()
81 //{{AFX_INSERT_LOCATION}}
82 // Microsoft Visual C++ will insert additional declarations immediately before the previous line.
84 #endif // !defined(AFX_CONDITIONPAGE_H__34B1DBCA_B747_4A2C_80F0_5DDC65B71D39__INCLUDED_)