Linux multi-monitor fullscreen support
[ryzomcore.git] / nel / tools / logic / logic_editor_dll / StatePage.h
blob45e274b9d25c5ad7271399fcc11d746a706a8228
1 #if !defined(AFX_STATEPAGE_H__6FCFCFD9_9FCA_4790_9B43_9BF802EC332C__INCLUDED_)
2 #define AFX_STATEPAGE_H__6FCFCFD9_9FCA_4790_9B43_9BF802EC332C__INCLUDED_
4 #if _MSC_VER > 1000
5 #pragma once
6 #endif // _MSC_VER > 1000
7 // StatePage.h : header file
8 //
10 #include "ResizablePage.h"
11 #include "State.h"
13 class CLogic_editorDoc;
15 /////////////////////////////////////////////////////////////////////////////
16 // CStatePage dialog
18 class CStatePage : public CPropertyPage
20 DECLARE_DYNCREATE(CStatePage)
22 // Construction
23 public:
24 CStatePage();
25 ~CStatePage();
28 void Update();
30 void addState( CLogic_editorDoc *pDoc, CState * state);
32 public:
33 CState * m_pSelectedState;
34 CEvent * m_pSelectedEvent;
36 // Dialog Data
37 //{{AFX_DATA(CStatePage)
38 enum { IDD = IDD_PAGE_STATES };
39 int m_nEventMessage;
40 CString m_sConditionName;
41 CString m_sNextStateName;
42 CString m_sStateName;
43 CString m_sMessageID;
44 CString m_sArgument;
45 CString m_sDestination;
46 //}}AFX_DATA
49 // Overrides
50 // ClassWizard generate virtual function overrides
51 //{{AFX_VIRTUAL(CStatePage)
52 public:
53 virtual BOOL OnSetActive();
54 protected:
55 virtual void DoDataExchange(CDataExchange* pDX); // DDX/DDV support
56 //}}AFX_VIRTUAL
58 // Implementation
59 protected:
60 // Generated message map functions
61 //{{AFX_MSG(CStatePage)
62 virtual BOOL OnInitDialog();
63 afx_msg void OnRadioStateChange();
64 afx_msg void OnRadioStateEventMsg();
65 afx_msg void OnButtonAddState();
66 afx_msg void OnButtonAddEvent();
67 afx_msg void OnButtonStateRemove();
68 afx_msg void OnButtonStateApply();
69 afx_msg void OnButtonEventApply();
70 afx_msg void OnButtonEventRemove();
71 //}}AFX_MSG
72 DECLARE_MESSAGE_MAP()
76 //{{AFX_INSERT_LOCATION}}
77 // Microsoft Visual C++ will insert additional declarations immediately before the previous line.
79 #endif // !defined(AFX_STATEPAGE_H__6FCFCFD9_9FCA_4790_9B43_9BF802EC332C__INCLUDED_)