FS2_Open
Open source remastering of the Freespace 2 engine
debriefingeditordlg.h
Go to the documentation of this file.
1 /*
2  * Copyright (C) Volition, Inc. 1999. All rights reserved.
3  *
4  * All source code herein is the property of Volition, Inc. You may not sell
5  * or otherwise commercially exploit the source or things you created based on the
6  * source.
7  *
8 */
9 
10 
12 
14 // debriefing_editor_dlg dialog
15 
16 class debriefing_editor_dlg : public CDialog
17 {
18 // Construction
19 public:
20  void OnOK();
21  void update_data(int update = 1);
22  debriefing_editor_dlg(CWnd* pParent = NULL); // standard constructor
24 
25 // Dialog Data
26  //{{AFX_DATA(debriefing_editor_dlg)
29  CString m_text;
30  CString m_voice;
31  CString m_stage_title;
32  CString m_rec_text;
37  //}}AFX_DATA
38 
39  CBitmap m_play_bm;
40 
41 // Overrides
42  // ClassWizard generated virtual function overrides
43  //{{AFX_VIRTUAL(debriefing_editor_dlg)
44  public:
45  virtual BOOL DestroyWindow();
46  protected:
47  virtual void DoDataExchange(CDataExchange* pDX); // DDX/DDV support
48  virtual BOOL OnCommand(WPARAM wParam, LPARAM lParam);
49  //}}AFX_VIRTUAL
50 
51 // Implementation
52 protected:
56  int modified;
57 
58  void copy_stage(int from, int to, int clear_formula = 0);
59 
60  // Generated message map functions
61  //{{AFX_MSG(debriefing_editor_dlg)
62  afx_msg void OnNext();
63  afx_msg void OnPrev();
64  afx_msg void OnBrowse();
65  afx_msg void OnAddStage();
66  afx_msg void OnDeleteStage();
67  afx_msg void OnInsertStage();
68  virtual BOOL OnInitDialog();
69  afx_msg void OnRclickTree(NMHDR* pNMHDR, LRESULT* pResult);
70  afx_msg void OnBeginlabeleditTree(NMHDR* pNMHDR, LRESULT* pResult);
71  afx_msg void OnEndlabeleditTree(NMHDR* pNMHDR, LRESULT* pResult);
72  afx_msg void OnClose();
73  afx_msg void OnInitMenu(CMenu* pMenu);
74  afx_msg void OnPlay();
75  //}}AFX_MSG
76  DECLARE_MESSAGE_MAP()
77 private:
78 };
debriefing_editor_dlg(CWnd *pParent=NULL)
virtual void DoDataExchange(CDataExchange *pDX)
UINT WPARAM wParam
Definition: msacm.h:1064
UINT WPARAM LPARAM lParam
Definition: msacm.h:1064
afx_msg void OnBeginlabeleditTree(NMHDR *pNMHDR, LRESULT *pResult)
long LPARAM
Definition: config.h:101
afx_msg void OnRclickTree(NMHDR *pNMHDR, LRESULT *pResult)
afx_msg void OnInitMenu(CMenu *pMenu)
void update_data(int update=1)
int BOOL
Definition: config.h:80
afx_msg void OnEndlabeleditTree(NMHDR *pNMHDR, LRESULT *pResult)
#define IDD_DEBRIEFING_EDITOR
Definition: resource.h:74
long LRESULT
Definition: config.h:100
virtual BOOL OnCommand(WPARAM wParam, LPARAM lParam)
void copy_stage(int from, int to, int clear_formula=0)