Skyscraper 2.0
stats.h
Go to the documentation of this file.
1/*
2 Skyscraper 2.0 Alpha - Statistics Dialog
3 Copyright (C)2004-2024 Ryan Thoryk
4 https://www.skyscrapersim.net
5 https://sourceforge.net/projects/skyscraper/
6 Contact - ryan@skyscrapersim.net
7
8 This program is free software; you can redistribute it and/or
9 modify it under the terms of the GNU General Public License
10 as published by the Free Software Foundation; either version 2
11 of the License, or (at your option) any later version.
12
13 This program is distributed in the hope that it will be useful,
14 but WITHOUT ANY WARRANTY; without even the implied warranty of
15 MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
16 GNU General Public License for more details.
17
18 You should have received a copy of the GNU General Public License
19 along with this program; if not, write to the Free Software
20 Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA.
21*/
22
23#ifndef STATS_H
24#define STATS_H
25
26//(*Headers(Stats)
27#include <wx/button.h>
28#include <wx/dialog.h>
29#include <wx/sizer.h>
30#include <wx/stattext.h>
31#include <wx/textctrl.h>
32//*)
33
34namespace Skyscraper {
35
36class Stats: public wxDialog
37{
38 public:
39
40 Stats(DebugPanel* parent,wxWindowID id=wxID_ANY);
41 virtual ~Stats();
42
43 //(*Declarations(Stats)
44 wxButton* bOK;
45 wxStaticText* StaticText10;
46 wxStaticText* StaticText11;
47 wxStaticText* StaticText12;
48 wxStaticText* StaticText13;
49 wxStaticText* StaticText14;
50 wxStaticText* StaticText15;
51 wxStaticText* StaticText16;
52 wxStaticText* StaticText17;
53 wxStaticText* StaticText18;
54 wxStaticText* StaticText1;
55 wxStaticText* StaticText20;
56 wxStaticText* StaticText21;
57 wxStaticText* StaticText22;
58 wxStaticText* StaticText23;
59 wxStaticText* StaticText24;
60 wxStaticText* StaticText25;
61 wxStaticText* StaticText26;
62 wxStaticText* StaticText2;
63 wxStaticText* StaticText3;
64 wxStaticText* StaticText4;
65 wxStaticText* StaticText5;
66 wxStaticText* StaticText6;
67 wxStaticText* StaticText7;
68 wxStaticText* StaticText8;
69 wxStaticText* StaticText9;
70 wxTextCtrl* tActions;
71 wxTextCtrl* tBasements;
72 wxTextCtrl* tDescription;
73 wxTextCtrl* tDesigner;
74 wxTextCtrl* tElevators;
75 wxTextCtrl* tFloors;
76 wxTextCtrl* tFrontendVersion;
77 wxTextCtrl* tInElevator;
78 wxTextCtrl* tInShaft;
79 wxTextCtrl* tInStairwell;
80 wxTextCtrl* tLocation;
81 wxTextCtrl* tMeshes;
82 wxTextCtrl* tName;
83 wxTextCtrl* tObjects;
84 wxTextCtrl* tPlatform;
85 wxTextCtrl* tPolygons;
86 wxTextCtrl* tRenderer;
87 wxTextCtrl* tRunningTime;
88 wxTextCtrl* tSBSVersion;
89 wxTextCtrl* tShafts;
90 wxTextCtrl* tSounds;
91 wxTextCtrl* tStairs;
92 wxTextCtrl* tTextures;
93 wxTextCtrl* tVersion;
94 wxTextCtrl* tWalls;
95 //*)
96 void Loop();
97
98 protected:
99
100 //(*Identifiers(Stats)
101 static const long ID_STATICTEXT18;
102 static const long ID_tName;
103 static const long ID_STATICTEXT17;
104 static const long ID_tDesigner;
105 static const long ID_STATICTEXT16;
106 static const long ID_tLocation;
107 static const long ID_STATICTEXT15;
108 static const long ID_tDescription;
109 static const long ID_STATICTEXT14;
110 static const long ID_tVersion;
111 static const long ID_STATICTEXT5;
112 static const long ID_tFloors;
113 static const long ID_STATICTEXT6;
114 static const long ID_tBasements;
115 static const long ID_STATICTEXT7;
116 static const long ID_tElevators;
117 static const long ID_STATICTEXT8;
118 static const long ID_tShafts;
119 static const long ID_STATICTEXT9;
120 static const long ID_tStairs;
121 static const long ID_STATICTEXT1;
122 static const long ID_tMeshes;
123 static const long ID_STATICTEXT3;
124 static const long ID_tTextures;
125 static const long ID_STATICTEXT4;
126 static const long ID_tActions;
127 static const long ID_STATICTEXT21;
128 static const long ID_tSounds;
129 static const long ID_STATICTEXT22;
130 static const long ID_tObjects;
131 static const long ID_STATICTEXT24;
132 static const long ID_tWalls;
133 static const long ID_STATICTEXT25;
134 static const long ID_tPolygons;
135 static const long ID_STATICTEXT10;
136 static const long ID_tInStairwell;
137 static const long ID_STATICTEXT11;
138 static const long ID_tInElevator;
139 static const long ID_STATICTEXT12;
140 static const long ID_tInShaft;
141 static const long ID_STATICTEXT13;
142 static const long ID_tRunningTime;
143 static const long ID_STATICTEXT20;
144 static const long ID_tFrontendVersion;
145 static const long ID_STATICTEXT23;
146 static const long ID_tSBSVersion;
147 static const long ID_STATICTEXT26;
148 static const long ID_tPlatform;
149 static const long ID_STATICTEXT2;
150 static const long ID_tRenderer;
151 static const long ID_bOK;
152 //*)
153 void OnInit();
154
155 private:
156
157 //(*Handlers(Stats)
158 void On_bOK_Click(wxCommandEvent& event);
159 //*)
160
163
164 DECLARE_EVENT_TABLE()
165};
166
167}
168
169#endif
wxStaticText * StaticText22
Definition stats.h:57
static const long ID_STATICTEXT8
Definition stats.h:117
wxStaticText * StaticText6
Definition stats.h:66
static const long ID_STATICTEXT13
Definition stats.h:141
wxTextCtrl * tFrontendVersion
Definition stats.h:76
static const long ID_STATICTEXT3
Definition stats.h:123
static const long ID_STATICTEXT14
Definition stats.h:109
static const long ID_STATICTEXT6
Definition stats.h:113
wxStaticText * StaticText23
Definition stats.h:58
SBS::SBS * Simcore
Definition stats.h:161
wxStaticText * StaticText18
Definition stats.h:53
wxStaticText * StaticText10
Definition stats.h:45
wxTextCtrl * tInShaft
Definition stats.h:78
wxStaticText * StaticText15
Definition stats.h:50
wxStaticText * StaticText8
Definition stats.h:68
wxTextCtrl * tMeshes
Definition stats.h:81
virtual ~Stats()
Definition stats.cpp:239
wxStaticText * StaticText20
Definition stats.h:55
wxTextCtrl * tBasements
Definition stats.h:71
static const long ID_STATICTEXT4
Definition stats.h:125
static const long ID_STATICTEXT1
Definition stats.h:121
static const long ID_STATICTEXT16
Definition stats.h:105
DebugPanel * panel
Definition stats.h:162
static const long ID_bOK
Definition stats.h:151
wxStaticText * StaticText2
Definition stats.h:62
static const long ID_STATICTEXT24
Definition stats.h:131
static const long ID_tRunningTime
Definition stats.h:142
wxTextCtrl * tRunningTime
Definition stats.h:87
wxStaticText * StaticText24
Definition stats.h:59
static const long ID_STATICTEXT5
Definition stats.h:111
static const long ID_STATICTEXT2
Definition stats.h:149
wxTextCtrl * tInElevator
Definition stats.h:77
static const long ID_tName
Definition stats.h:102
static const long ID_STATICTEXT17
Definition stats.h:103
wxTextCtrl * tInStairwell
Definition stats.h:79
wxTextCtrl * tFloors
Definition stats.h:75
static const long ID_tShafts
Definition stats.h:118
static const long ID_STATICTEXT10
Definition stats.h:135
wxStaticText * StaticText12
Definition stats.h:47
wxTextCtrl * tSBSVersion
Definition stats.h:88
wxButton * bOK
Definition stats.h:44
wxTextCtrl * tSounds
Definition stats.h:90
wxStaticText * StaticText21
Definition stats.h:56
static const long ID_tRenderer
Definition stats.h:150
static const long ID_tPolygons
Definition stats.h:134
wxStaticText * StaticText14
Definition stats.h:49
wxStaticText * StaticText16
Definition stats.h:51
wxTextCtrl * tWalls
Definition stats.h:94
wxStaticText * StaticText4
Definition stats.h:64
wxTextCtrl * tName
Definition stats.h:82
wxStaticText * StaticText5
Definition stats.h:65
static const long ID_tWalls
Definition stats.h:132
static const long ID_tInElevator
Definition stats.h:138
static const long ID_tInStairwell
Definition stats.h:136
static const long ID_tElevators
Definition stats.h:116
static const long ID_STATICTEXT18
Definition stats.h:101
static const long ID_tActions
Definition stats.h:126
static const long ID_tFloors
Definition stats.h:112
wxStaticText * StaticText13
Definition stats.h:48
static const long ID_tBasements
Definition stats.h:114
wxTextCtrl * tLocation
Definition stats.h:80
wxStaticText * StaticText3
Definition stats.h:63
static const long ID_STATICTEXT20
Definition stats.h:143
wxTextCtrl * tShafts
Definition stats.h:89
static const long ID_tSBSVersion
Definition stats.h:146
static const long ID_tDescription
Definition stats.h:108
wxTextCtrl * tObjects
Definition stats.h:83
void On_bOK_Click(wxCommandEvent &event)
Definition stats.cpp:246
wxTextCtrl * tPolygons
Definition stats.h:85
static const long ID_tStairs
Definition stats.h:120
static const long ID_STATICTEXT22
Definition stats.h:129
static const long ID_STATICTEXT7
Definition stats.h:115
wxStaticText * StaticText1
Definition stats.h:54
wxStaticText * StaticText7
Definition stats.h:67
static const long ID_tSounds
Definition stats.h:128
wxStaticText * StaticText11
Definition stats.h:46
wxStaticText * StaticText25
Definition stats.h:60
wxTextCtrl * tDesigner
Definition stats.h:73
static const long ID_STATICTEXT15
Definition stats.h:107
static const long ID_STATICTEXT21
Definition stats.h:127
wxTextCtrl * tElevators
Definition stats.h:74
static const long ID_STATICTEXT23
Definition stats.h:145
static const long ID_STATICTEXT26
Definition stats.h:147
wxTextCtrl * tDescription
Definition stats.h:72
wxStaticText * StaticText26
Definition stats.h:61
wxStaticText * StaticText17
Definition stats.h:52
static const long ID_STATICTEXT9
Definition stats.h:119
static const long ID_STATICTEXT12
Definition stats.h:139
static const long ID_STATICTEXT11
Definition stats.h:137
static const long ID_STATICTEXT25
Definition stats.h:133
static const long ID_tTextures
Definition stats.h:124
wxTextCtrl * tTextures
Definition stats.h:92
static const long ID_tFrontendVersion
Definition stats.h:144
wxStaticText * StaticText9
Definition stats.h:69
static const long ID_tLocation
Definition stats.h:106
wxTextCtrl * tActions
Definition stats.h:70
static const long ID_tVersion
Definition stats.h:110
wxTextCtrl * tStairs
Definition stats.h:91
static const long ID_tMeshes
Definition stats.h:122
wxTextCtrl * tRenderer
Definition stats.h:86
wxTextCtrl * tVersion
Definition stats.h:93
static const long ID_tDesigner
Definition stats.h:104
Stats(DebugPanel *parent, wxWindowID id=wxID_ANY)
Definition stats.cpp:98
static const long ID_tPlatform
Definition stats.h:148
wxTextCtrl * tPlatform
Definition stats.h:84
static const long ID_tInShaft
Definition stats.h:140
static const long ID_tObjects
Definition stats.h:130