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/_load_dlg_8cpp_source.html | 194 ++++++++++++++++++++++++++++ 1 file changed, 194 insertions(+) create mode 100644 Doc/doxygen/html/_load_dlg_8cpp_source.html (limited to 'Doc/doxygen/html/_load_dlg_8cpp_source.html') diff --git a/Doc/doxygen/html/_load_dlg_8cpp_source.html b/Doc/doxygen/html/_load_dlg_8cpp_source.html new file mode 100644 index 0000000..9b1d4db --- /dev/null +++ b/Doc/doxygen/html/_load_dlg_8cpp_source.html @@ -0,0 +1,194 @@ + + + + + +Starshatter_Open: D:/SRC/StarshatterSVN/Stars45/LoadDlg.cpp Source File + + + + + + + + + + + + + +
+
+ + + + + + +
+
Starshatter_Open +
+
Open source Starshatter engine
+
+
+ + + + + +
+
+ +
+
+
+ +
+ + + + +
+ +
+ +
+
+
LoadDlg.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: LoadDlg.cpp
+
7  AUTHOR: John DiCamillo
+
8 
+
9 
+
10  OVERVIEW
+
11  ========
+
12  Loading progress dialog box
+
13 */
+
14 
+
15 
+
16 #include "MemDebug.h"
+
17 #include "LoadDlg.h"
+
18 #include "Starshatter.h"
+
19 
+
20 #include "Game.h"
+
21 #include "DataLoader.h"
+
22 #include "Video.h"
+
23 #include "Keyboard.h"
+
24 #include "Mouse.h"
+
25 #include "ListBox.h"
+
26 #include "ComboBox.h"
+
27 #include "Slider.h"
+
28 #include "FormatUtil.h"
+
29 
+
30 // +--------------------------------------------------------------------+
+
31 
+ +
33 : FormWindow(s, 0, 0, s->Width(), s->Height()),
+
34 progress(0), activity(0)
+
35 {
+
36  Init(def);
+
37 }
+
38 
+ +
40 {
+
41 }
+
42 
+
43 void
+ +
45 {
+
46  title = FindControl(100);
+
47  activity = FindControl(101);
+
48  progress = (Slider*) FindControl(102);
+
49 }
+
50 
+
51 // +--------------------------------------------------------------------+
+
52 
+
53 void
+ +
55 {
+ +
57 
+
58  if (stars) {
+
59  if (title) {
+
60  if (stars->GetGameMode() == Starshatter::CLOD_MODE ||
+ +
62  title->SetText(Game::GetText("LoadDlg.campaign"));
+
63 
+
64  else if (stars->GetGameMode() == Starshatter::MENU_MODE)
+
65  title->SetText(Game::GetText("LoadDlg.tac-ref"));
+
66 
+
67  else
+
68  title->SetText(Game::GetText("LoadDlg.mission"));
+
69  }
+
70 
+
71  activity->SetText(stars->GetLoadActivity());
+ +
73  }
+
74 }
+
75 
+
76 // +--------------------------------------------------------------------+
+
77 
+
+
+ + + + -- cgit v1.1