Skyscraper 2.0
profilergui.h
Go to the documentation of this file.
1/*
2 Skyscraper 2.0 Alpha - Profiler GUI
3 Copyright (C)2003-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 PROFILERGUI_H
24#define PROFILERGUI_H
25
26//(*Headers(Profiler)
27#include <wx/checkbox.h>
28#include <wx/dialog.h>
29#include <wx/sizer.h>
30#include <wx/textctrl.h>
31//*)
32
33namespace Skyscraper {
34
35class Profiler: public wxDialog
36{
37 public:
38
39 Profiler(wxWindow* parent,wxWindowID id=wxID_ANY,const wxPoint& pos=wxDefaultPosition,const wxSize& size=wxDefaultSize);
40 virtual ~Profiler();
41 void Loop();
42
43 //(*Declarations(Profiler)
44 wxCheckBox* chkAdvanced;
45 wxCheckBox* chkCapture;
46 wxTextCtrl* txtMain;
47 //*)
48
49 protected:
50
51 //(*Identifiers(Profiler)
52 static const long ID_chkAdvanced;
53 static const long ID_chkCapture;
54 static const long ID_txtMain;
55 //*)
56
57 private:
58
59 //(*Handlers(Profiler)
60 void OnResize(wxSizeEvent& event);
61 //*)
62
64 int count;
65 DECLARE_EVENT_TABLE()
66};
67
68}
69
70#endif
71
Profiler(wxWindow *parent, wxWindowID id=wxID_ANY, const wxPoint &pos=wxDefaultPosition, const wxSize &size=wxDefaultSize)
wxCheckBox * chkCapture
Definition profilergui.h:45
void OnResize(wxSizeEvent &event)
wxCheckBox * chkAdvanced
Definition profilergui.h:44
static const long ID_txtMain
Definition profilergui.h:54
static const long ID_chkCapture
Definition profilergui.h:53
wxTextCtrl * txtMain
Definition profilergui.h:46
static const long ID_chkAdvanced
Definition profilergui.h:52