FS2_Open
Open source remastering of the Freespace 2 engine
Main Page
Related Pages
Modules
Namespaces
Classes
Files
Examples
File List
File Members
dlgmissionobjectiveseditor.cpp
Go to the documentation of this file.
1
/*
2
* Created by Ian "Goober5000" Warfield and "z64555" for the FreeSpace2 Source
3
* Code Project.
4
*
5
* You may not sell or otherwise commercially exploit the source or things you
6
* create based on the source.
7
*/
8
9
#include "
editors/dlgmissionobjectiveseditor.h
"
10
#include "
frmfred2.h
"
11
#include "
base/wxfred_base.h
"
12
13
#include <wx/wx.h>
14
15
// Public Members:
16
dlgMissionObjectivesEditor::dlgMissionObjectivesEditor
( wxWindow* parent, wxWindowID
id
)
17
:
fredBase
::
dlgMissionObjectivesEditor
(parent, id)
18
{
19
}
20
21
// Protected Members:
22
// Handlers for dlgMissionObjectives
23
void
dlgMissionObjectivesEditor::OnClose
( wxCloseEvent&
event
)
24
{
25
((
frmFRED2
*) GetParent())->OnChildClosed(
this
);
26
Destroy();
27
}
28
29
void
dlgMissionObjectivesEditor::OnNewObjective
( wxCommandEvent&
event
)
30
{
31
}
32
33
void
dlgMissionObjectivesEditor::OnOK
( wxCommandEvent&
event
)
34
{
35
// TODO: Save changes in the editor
36
Close();
37
}
38
39
void
dlgMissionObjectivesEditor::OnCancel
( wxCommandEvent&
event
)
40
{
41
// TODO: Restore mission objectives state before this window was created
42
Close();
43
}
dlgMissionObjectivesEditor::dlgMissionObjectivesEditor
dlgMissionObjectivesEditor(void)
frmFRED2
Definition:
frmfred2.h:62
wxfred_base.h
fredBase
Definition:
wxfred_base.h:52
dlgMissionObjectivesEditor::OnCancel
void OnCancel(wxCommandEvent &event)
Definition:
dlgmissionobjectiveseditor.cpp:39
dlgmissionobjectiveseditor.h
dlgMissionObjectivesEditor::OnOK
void OnOK(wxCommandEvent &event)
Definition:
dlgmissionobjectiveseditor.cpp:33
dlgMissionObjectivesEditor
Definition:
dlgmissionobjectiveseditor.h:15
event
struct _cl_event * event
Definition:
Glext.h:7296
dlgMissionObjectivesEditor::OnClose
void OnClose(wxCloseEvent &event)
Definition:
dlgmissionobjectiveseditor.cpp:23
dlgMissionObjectivesEditor::OnNewObjective
void OnNewObjective(wxCommandEvent &event)
Definition:
dlgmissionobjectiveseditor.cpp:29
frmfred2.h
code
wxfred2
editors
dlgmissionobjectiveseditor.cpp
Generated on Sun May 1 2016 16:23:45 for FS2_Open by
1.8.10