Skyscraper 2.0
meshcontrol.h
Go to the documentation of this file.
1/*
2 Skyscraper 2.0 Alpha - Mesh Control Form
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 MESHCONTROL_H
24#define MESHCONTROL_H
25
26//(*Headers(MeshControl)
27#include <wx/button.h>
28#include <wx/checkbox.h>
29#include <wx/dialog.h>
30#include <wx/sizer.h>
31//*)
32
33namespace Skyscraper {
34
35class MeshControl: public wxDialog
36{
37 public:
38
39 MeshControl(DebugPanel* parent,wxWindowID id = -1);
40 virtual ~MeshControl();
41
42 //(*Identifiers(MeshControl)
43 static const long ID_chkExternal;
44 static const long ID_chkBuildings;
45 static const long ID_chkLandscape;
46 static const long ID_chkSky;
47 static const long ID_chkElevators;
48 static const long ID_chkFloor;
49 static const long ID_chkShafts;
50 static const long ID_chkStairs;
51 static const long ID_chkInterfloor;
52 static const long ID_chkColumnFrame;
53 static const long ID_chkAllFloors;
54 static const long ID_chkAllShafts;
55 static const long ID_chkAllStairs;
56 static const long ID_chkAllInterfloors;
57 static const long ID_chkAllColumnFrames;
58 static const long ID_bOk;
59 //*)
60 void Loop();
61
62 protected:
63
64 //(*Handlers(MeshControl)
65 void On_bOk_Click(wxCommandEvent& event);
66 void On_chkSky_Click(wxCommandEvent& event);
67 void On_chkLandscape_Click(wxCommandEvent& event);
68 void On_chkBuildings_Click(wxCommandEvent& event);
69 void On_chkExternal_Click(wxCommandEvent& event);
70 void On_chkFloor_Click(wxCommandEvent& event);
71 void On_chkElevators_Click(wxCommandEvent& event);
72 void On_chkShafts_Click(wxCommandEvent& event);
73 void On_chkStairs_Click(wxCommandEvent& event);
74 void On_chkAllFloors_Click(wxCommandEvent& event);
75 void On_chkAllShafts_Click(wxCommandEvent& event);
76 void On_chkAllStairs_Click(wxCommandEvent& event);
77 void On_chkColumnFrame_Click(wxCommandEvent& event);
78 void On_chkAllColumnFrames_Click(wxCommandEvent& event);
79 void On_chkInterfloor_Click(wxCommandEvent& event);
80 void On_chkAllInterfloors_Click(wxCommandEvent& event);
81 //*)
82 void OnInit();
83
84 //(*Declarations(MeshControl)
85 wxBoxSizer* BoxSizer1;
86 wxBoxSizer* BoxSizer2;
87 wxButton* bOk;
88 wxCheckBox* chkAllColumnFrames;
89 wxCheckBox* chkAllFloors;
90 wxCheckBox* chkAllInterfloors;
91 wxCheckBox* chkAllShafts;
92 wxCheckBox* chkAllStairs;
93 wxCheckBox* chkBuildings;
94 wxCheckBox* chkColumnFrame;
95 wxCheckBox* chkElevators;
96 wxCheckBox* chkExternal;
97 wxCheckBox* chkFloor;
98 wxCheckBox* chkInterfloor;
99 wxCheckBox* chkLandscape;
100 wxCheckBox* chkShafts;
101 wxCheckBox* chkSky;
102 wxCheckBox* chkStairs;
103 //*)
104
105 private:
106
109
110 DECLARE_EVENT_TABLE()
111};
112
113}
114
115#endif
void On_chkAllColumnFrames_Click(wxCommandEvent &event)
wxCheckBox * chkAllInterfloors
Definition meshcontrol.h:90
wxCheckBox * chkAllStairs
Definition meshcontrol.h:92
void On_chkExternal_Click(wxCommandEvent &event)
void On_chkLandscape_Click(wxCommandEvent &event)
static const long ID_chkAllShafts
Definition meshcontrol.h:54
void On_chkInterfloor_Click(wxCommandEvent &event)
void On_chkBuildings_Click(wxCommandEvent &event)
static const long ID_chkElevators
Definition meshcontrol.h:47
wxCheckBox * chkExternal
Definition meshcontrol.h:96
void On_bOk_Click(wxCommandEvent &event)
static const long ID_chkExternal
Definition meshcontrol.h:43
wxCheckBox * chkAllShafts
Definition meshcontrol.h:91
static const long ID_chkAllInterfloors
Definition meshcontrol.h:56
void On_chkAllFloors_Click(wxCommandEvent &event)
void On_chkSky_Click(wxCommandEvent &event)
static const long ID_chkShafts
Definition meshcontrol.h:49
void On_chkFloor_Click(wxCommandEvent &event)
wxCheckBox * chkLandscape
Definition meshcontrol.h:99
static const long ID_bOk
Definition meshcontrol.h:58
static const long ID_chkAllColumnFrames
Definition meshcontrol.h:57
static const long ID_chkInterfloor
Definition meshcontrol.h:51
static const long ID_chkStairs
Definition meshcontrol.h:50
static const long ID_chkFloor
Definition meshcontrol.h:48
wxCheckBox * chkInterfloor
Definition meshcontrol.h:98
void On_chkAllShafts_Click(wxCommandEvent &event)
wxCheckBox * chkBuildings
Definition meshcontrol.h:93
void On_chkShafts_Click(wxCommandEvent &event)
void On_chkAllStairs_Click(wxCommandEvent &event)
void On_chkColumnFrame_Click(wxCommandEvent &event)
wxCheckBox * chkColumnFrame
Definition meshcontrol.h:94
static const long ID_chkAllFloors
Definition meshcontrol.h:53
void On_chkStairs_Click(wxCommandEvent &event)
void On_chkElevators_Click(wxCommandEvent &event)
MeshControl(DebugPanel *parent, wxWindowID id=-1)
static const long ID_chkColumnFrame
Definition meshcontrol.h:52
wxCheckBox * chkAllFloors
Definition meshcontrol.h:89
void On_chkAllInterfloors_Click(wxCommandEvent &event)
wxCheckBox * chkAllColumnFrames
Definition meshcontrol.h:88
static const long ID_chkAllStairs
Definition meshcontrol.h:55
static const long ID_chkLandscape
Definition meshcontrol.h:45
static const long ID_chkBuildings
Definition meshcontrol.h:44
static const long ID_chkSky
Definition meshcontrol.h:46
wxCheckBox * chkElevators
Definition meshcontrol.h:95