Skyscraper
2.0
src
gui
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
33
namespace
Skyscraper
{
34
35
class
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
63
bool
advanced
;
64
int
count
;
65
DECLARE_EVENT_TABLE()
66
};
67
68
}
69
70
#endif
71
Skyscraper::Profiler
Definition
profilergui.h:36
Skyscraper::Profiler::Profiler
Profiler(wxWindow *parent, wxWindowID id=wxID_ANY, const wxPoint &pos=wxDefaultPosition, const wxSize &size=wxDefaultSize)
Definition
profilergui.cpp:47
Skyscraper::Profiler::chkCapture
wxCheckBox * chkCapture
Definition
profilergui.h:45
Skyscraper::Profiler::OnResize
void OnResize(wxSizeEvent &event)
Definition
profilergui.cpp:112
Skyscraper::Profiler::chkAdvanced
wxCheckBox * chkAdvanced
Definition
profilergui.h:44
Skyscraper::Profiler::advanced
bool advanced
Definition
profilergui.h:63
Skyscraper::Profiler::ID_txtMain
static const long ID_txtMain
Definition
profilergui.h:54
Skyscraper::Profiler::ID_chkCapture
static const long ID_chkCapture
Definition
profilergui.h:53
Skyscraper::Profiler::txtMain
wxTextCtrl * txtMain
Definition
profilergui.h:46
Skyscraper::Profiler::count
int count
Definition
profilergui.h:64
Skyscraper::Profiler::ID_chkAdvanced
static const long ID_chkAdvanced
Definition
profilergui.h:52
Skyscraper::Profiler::Loop
void Loop()
Definition
profilergui.cpp:84
Skyscraper::Profiler::~Profiler
virtual ~Profiler()
Definition
profilergui.cpp:76
Skyscraper
Definition
native.cpp:50
Generated by
1.11.0