From 8898ad9b25fca6afe2374d293a981db02a83d7e9 Mon Sep 17 00:00:00 2001 From: "FWoltermann@gmail.com" Date: Thu, 31 May 2012 14:46:27 +0000 Subject: Committing the documentation to svn to have it accessible online --- Doc/doxygen/html/_msn_nav_dlg_8cpp_source.html | 221 +++++++++++++++++++++++++ 1 file changed, 221 insertions(+) create mode 100644 Doc/doxygen/html/_msn_nav_dlg_8cpp_source.html (limited to 'Doc/doxygen/html/_msn_nav_dlg_8cpp_source.html') diff --git a/Doc/doxygen/html/_msn_nav_dlg_8cpp_source.html b/Doc/doxygen/html/_msn_nav_dlg_8cpp_source.html new file mode 100644 index 0000000..23b6f11 --- /dev/null +++ b/Doc/doxygen/html/_msn_nav_dlg_8cpp_source.html @@ -0,0 +1,221 @@ + + + + + +Starshatter_Open: D:/SRC/StarshatterSVN/Stars45/MsnNavDlg.cpp Source File + + + + + + + + + + + + + +
+
+ + + + + + +
+
Starshatter_Open +
+
Open source Starshatter engine
+
+
+ + + + + +
+
+ +
+
+
+ +
+ + + + +
+ +
+ +
+
+
MsnNavDlg.cpp
+
+
+Go to the documentation of this file.
1 /* Project Starshatter 4.5
+
2  Destroyer Studios LLC
+
3  Copyright © 1997-2004. All Rights Reserved.
+
4 
+
5  SUBSYSTEM: Stars.exe
+
6  FILE: MsnNavDlg.cpp
+
7  AUTHOR: John DiCamillo
+
8 
+
9 
+
10  OVERVIEW
+
11  ========
+
12  Mission Briefing Dialog Active Window class
+
13 */
+
14 
+
15 #include "MemDebug.h"
+
16 #include "MsnNavDlg.h"
+
17 #include "PlanScreen.h"
+
18 #include "Campaign.h"
+
19 #include "Mission.h"
+
20 #include "Instruction.h"
+
21 #include "Ship.h"
+
22 #include "ShipDesign.h"
+
23 #include "StarSystem.h"
+
24 
+
25 #include "Keyboard.h"
+
26 
+
27 // +--------------------------------------------------------------------+
+
28 // DECLARE MAPPING FUNCTIONS:
+
29 DEF_MAP_CLIENT(MsnNavDlg, OnCommit);
+
30 DEF_MAP_CLIENT(MsnNavDlg, OnCancel);
+
31 DEF_MAP_CLIENT(MsnNavDlg, OnTabButton);
+
32 
+
33 // +--------------------------------------------------------------------+
+
34 
+ +
36 : NavDlg(s, def, mgr), MsnDlg(mgr)
+
37 {
+ +
39 }
+
40 
+ +
42 {
+
43 }
+
44 
+
45 // +--------------------------------------------------------------------+
+
46 
+
47 void
+ +
49 {
+
50  RegisterMsnControls(this);
+
51 
+
52  if (commit)
+ +
54 
+
55  if (cancel)
+ +
57 
+
58  if (sit_button)
+ +
60 
+
61  if (pkg_button)
+ +
63 
+
64  if (nav_button)
+ +
66 
+
67  if (wep_button)
+ +
69 }
+
70 
+
71 // +--------------------------------------------------------------------+
+
72 
+
73 void
+ +
75 {
+
76  NavDlg::Show();
+
77  ShowMsnDlg();
+
78 }
+
79 
+
80 void
+ +
82 {
+ +
84 
+
85  if (Keyboard::KeyDown(VK_RETURN)) {
+
86  OnCommit(0);
+
87  }
+
88 }
+
89 
+
90 // +--------------------------------------------------------------------+
+
91 
+
92 void
+ +
94 {
+
95  MsnDlg::OnCommit(event);
+
96  NavDlg::OnCommit(event);
+
97 }
+
98 
+
99 void
+ +
101 {
+
102  MsnDlg::OnCancel(event);
+
103  NavDlg::OnCancel(event);
+
104 }
+
+
+ + + + -- cgit v1.1