Skyscraper 2.0
Skyscraper::ParameterViewer Class Reference

#include <parameterviewer.h>

Inheritance diagram for Skyscraper::ParameterViewer:
Collaboration diagram for Skyscraper::ParameterViewer:

Public Member Functions

 ParameterViewer (DebugPanel *root, wxWindow *parent, wxString object_type, wxString object_parent, bool createobject, wxWindowID id=wxID_ANY, const wxPoint &pos=wxDefaultPosition, const wxSize &size=wxDefaultSize)
 
virtual ~ParameterViewer ()
 

Public Attributes

wxButton * bCancel
 
wxButton * bOK
 
wxButton * bTextures
 
wxStaticText * StaticText1
 
wxStaticText * l10
 
wxStaticText * l11
 
wxStaticText * l12
 
wxStaticText * l13
 
wxStaticText * l14
 
wxStaticText * l15
 
wxStaticText * l16
 
wxStaticText * l17
 
wxStaticText * l18
 
wxStaticText * l19
 
wxStaticText * l1
 
wxStaticText * l20
 
wxStaticText * l2
 
wxStaticText * l3
 
wxStaticText * l4
 
wxStaticText * l5
 
wxStaticText * l6
 
wxStaticText * l7
 
wxStaticText * l8
 
wxStaticText * l9
 
wxStaticText * tDesc
 
wxStaticText * tVariables
 
wxTextCtrl * t10
 
wxTextCtrl * t11
 
wxTextCtrl * t12
 
wxTextCtrl * t13
 
wxTextCtrl * t14
 
wxTextCtrl * t15
 
wxTextCtrl * t16
 
wxTextCtrl * t17
 
wxTextCtrl * t18
 
wxTextCtrl * t19
 
wxTextCtrl * t1
 
wxTextCtrl * t20
 
wxTextCtrl * t2
 
wxTextCtrl * t3
 
wxTextCtrl * t4
 
wxTextCtrl * t5
 
wxTextCtrl * t6
 
wxTextCtrl * t7
 
wxTextCtrl * t8
 
wxTextCtrl * t9
 
wxTextCtrl * tCommand
 
wxString objecttype
 
wxString objectparent
 
wxString command
 
bool create
 

Static Protected Attributes

static const long ID_tDesc = wxNewId()
 
static const long ID_tVariables = wxNewId()
 
static const long ID_STATICTEXT1 = wxNewId()
 
static const long ID_TEXTCTRL1 = wxNewId()
 
static const long ID_STATICTEXT2 = wxNewId()
 
static const long ID_TEXTCTRL2 = wxNewId()
 
static const long ID_STATICTEXT3 = wxNewId()
 
static const long ID_TEXTCTRL3 = wxNewId()
 
static const long ID_STATICTEXT4 = wxNewId()
 
static const long ID_TEXTCTRL4 = wxNewId()
 
static const long ID_STATICTEXT5 = wxNewId()
 
static const long ID_TEXTCTRL5 = wxNewId()
 
static const long ID_STATICTEXT6 = wxNewId()
 
static const long ID_TEXTCTRL6 = wxNewId()
 
static const long ID_STATICTEXT7 = wxNewId()
 
static const long ID_TEXTCTRL7 = wxNewId()
 
static const long ID_STATICTEXT8 = wxNewId()
 
static const long ID_TEXTCTRL8 = wxNewId()
 
static const long ID_STATICTEXT9 = wxNewId()
 
static const long ID_TEXTCTRL9 = wxNewId()
 
static const long ID_STATICTEXT10 = wxNewId()
 
static const long ID_TEXTCTRL10 = wxNewId()
 
static const long ID_l11 = wxNewId()
 
static const long ID_t11 = wxNewId()
 
static const long ID_l12 = wxNewId()
 
static const long ID_t12 = wxNewId()
 
static const long ID_l13 = wxNewId()
 
static const long ID_t13 = wxNewId()
 
static const long ID_l14 = wxNewId()
 
static const long ID_t14 = wxNewId()
 
static const long ID_l15 = wxNewId()
 
static const long ID_t15 = wxNewId()
 
static const long ID_l16 = wxNewId()
 
static const long ID_t16 = wxNewId()
 
static const long ID_l17 = wxNewId()
 
static const long ID_t17 = wxNewId()
 
static const long ID_l18 = wxNewId()
 
static const long ID_t18 = wxNewId()
 
static const long ID_l19 = wxNewId()
 
static const long ID_t19 = wxNewId()
 
static const long ID_l20 = wxNewId()
 
static const long ID_t20 = wxNewId()
 
static const long ID_STATICTEXT11 = wxNewId()
 
static const long ID_tCommand = wxNewId()
 
static const long ID_bCancel = wxNewId()
 
static const long ID_bTextures = wxNewId()
 
static const long ID_bOK = wxNewId()
 

Private Member Functions

void On_bCancel_Click (wxCommandEvent &event)
 
void On_bOK_Click (wxCommandEvent &event)
 
void ChangeParam (wxCommandEvent &event)
 
void On_bTextures_Click (wxCommandEvent &event)
 
bool Setup ()
 

Private Attributes

SBS::SBSSimcore
 
DebugPanelpanel
 

Detailed Description

Definition at line 36 of file parameterviewer.h.

Constructor & Destructor Documentation

◆ ParameterViewer()

Skyscraper::ParameterViewer::ParameterViewer ( DebugPanel * root,
wxWindow * parent,
wxString object_type,
wxString object_parent,
bool createobject,
wxWindowID id = wxID_ANY,
const wxPoint & pos = wxDefaultPosition,
const wxSize & size = wxDefaultSize )

Definition at line 98 of file parameterviewer.cpp.

References ChangeParam(), On_bCancel_Click(), On_bOK_Click(), and On_bTextures_Click().

Here is the call graph for this function:

◆ ~ParameterViewer()

Skyscraper::ParameterViewer::~ParameterViewer ( )
virtual

Definition at line 259 of file parameterviewer.cpp.

Member Function Documentation

◆ ChangeParam()

void Skyscraper::ParameterViewer::ChangeParam ( wxCommandEvent & event)
private

Definition at line 1867 of file parameterviewer.cpp.

References command, objectparent, objecttype, t1, t10, t11, t12, t13, t14, t15, t16, t17, t18, t19, t2, t20, t3, t4, t5, t6, t7, t8, t9, and tCommand.

Referenced by ParameterViewer().

◆ On_bCancel_Click()

void Skyscraper::ParameterViewer::On_bCancel_Click ( wxCommandEvent & event)
private

Definition at line 1854 of file parameterviewer.cpp.

Referenced by ParameterViewer().

◆ On_bOK_Click()

void Skyscraper::ParameterViewer::On_bOK_Click ( wxCommandEvent & event)
private

◆ On_bTextures_Click()

void Skyscraper::ParameterViewer::On_bTextures_Click ( wxCommandEvent & event)
private

Definition at line 1996 of file parameterviewer.cpp.

References SBS::SBS::GetTextureManager(), SBS::TextureManager::ListTextures(), Simcore, Skyscraper::TextWindow::tMain, and Skyscraper::twindow.

Referenced by ParameterViewer().

Here is the call graph for this function:

◆ Setup()

bool Skyscraper::ParameterViewer::Setup ( )
private

Definition at line 265 of file parameterviewer.cpp.

References create, SBS::SBS::Floors, Skyscraper::DebugPanel::GetSystem(), l1, l10, l11, l12, l13, l14, l15, l16, l17, l18, l19, l2, l20, l3, l4, l5, l6, l7, l8, l9, objectparent, objecttype, panel, Simcore, t1, t10, t11, t12, t13, t14, t15, t16, t17, t18, t19, t2, t20, t3, t4, t5, t6, t7, t8, t9, tDesc, SBS::ToString(), and tVariables.

Here is the call graph for this function:

Member Data Documentation

◆ bCancel

wxButton* Skyscraper::ParameterViewer::bCancel

Definition at line 44 of file parameterviewer.h.

◆ bOK

wxButton* Skyscraper::ParameterViewer::bOK

Definition at line 45 of file parameterviewer.h.

◆ bTextures

wxButton* Skyscraper::ParameterViewer::bTextures

Definition at line 46 of file parameterviewer.h.

◆ command

wxString Skyscraper::ParameterViewer::command

Definition at line 94 of file parameterviewer.h.

Referenced by ChangeParam(), and On_bOK_Click().

◆ create

bool Skyscraper::ParameterViewer::create

Definition at line 95 of file parameterviewer.h.

Referenced by Setup().

◆ ID_bCancel

const long Skyscraper::ParameterViewer::ID_bCancel = wxNewId()
staticprotected

Definition at line 145 of file parameterviewer.h.

◆ ID_bOK

const long Skyscraper::ParameterViewer::ID_bOK = wxNewId()
staticprotected

Definition at line 147 of file parameterviewer.h.

◆ ID_bTextures

const long Skyscraper::ParameterViewer::ID_bTextures = wxNewId()
staticprotected

Definition at line 146 of file parameterviewer.h.

◆ ID_l11

const long Skyscraper::ParameterViewer::ID_l11 = wxNewId()
staticprotected

Definition at line 123 of file parameterviewer.h.

◆ ID_l12

const long Skyscraper::ParameterViewer::ID_l12 = wxNewId()
staticprotected

Definition at line 125 of file parameterviewer.h.

◆ ID_l13

const long Skyscraper::ParameterViewer::ID_l13 = wxNewId()
staticprotected

Definition at line 127 of file parameterviewer.h.

◆ ID_l14

const long Skyscraper::ParameterViewer::ID_l14 = wxNewId()
staticprotected

Definition at line 129 of file parameterviewer.h.

◆ ID_l15

const long Skyscraper::ParameterViewer::ID_l15 = wxNewId()
staticprotected

Definition at line 131 of file parameterviewer.h.

◆ ID_l16

const long Skyscraper::ParameterViewer::ID_l16 = wxNewId()
staticprotected

Definition at line 133 of file parameterviewer.h.

◆ ID_l17

const long Skyscraper::ParameterViewer::ID_l17 = wxNewId()
staticprotected

Definition at line 135 of file parameterviewer.h.

◆ ID_l18

const long Skyscraper::ParameterViewer::ID_l18 = wxNewId()
staticprotected

Definition at line 137 of file parameterviewer.h.

◆ ID_l19

const long Skyscraper::ParameterViewer::ID_l19 = wxNewId()
staticprotected

Definition at line 139 of file parameterviewer.h.

◆ ID_l20

const long Skyscraper::ParameterViewer::ID_l20 = wxNewId()
staticprotected

Definition at line 141 of file parameterviewer.h.

◆ ID_STATICTEXT1

const long Skyscraper::ParameterViewer::ID_STATICTEXT1 = wxNewId()
staticprotected

Definition at line 103 of file parameterviewer.h.

◆ ID_STATICTEXT10

const long Skyscraper::ParameterViewer::ID_STATICTEXT10 = wxNewId()
staticprotected

Definition at line 121 of file parameterviewer.h.

◆ ID_STATICTEXT11

const long Skyscraper::ParameterViewer::ID_STATICTEXT11 = wxNewId()
staticprotected

Definition at line 143 of file parameterviewer.h.

◆ ID_STATICTEXT2

const long Skyscraper::ParameterViewer::ID_STATICTEXT2 = wxNewId()
staticprotected

Definition at line 105 of file parameterviewer.h.

◆ ID_STATICTEXT3

const long Skyscraper::ParameterViewer::ID_STATICTEXT3 = wxNewId()
staticprotected

Definition at line 107 of file parameterviewer.h.

◆ ID_STATICTEXT4

const long Skyscraper::ParameterViewer::ID_STATICTEXT4 = wxNewId()
staticprotected

Definition at line 109 of file parameterviewer.h.

◆ ID_STATICTEXT5

const long Skyscraper::ParameterViewer::ID_STATICTEXT5 = wxNewId()
staticprotected

Definition at line 111 of file parameterviewer.h.

◆ ID_STATICTEXT6

const long Skyscraper::ParameterViewer::ID_STATICTEXT6 = wxNewId()
staticprotected

Definition at line 113 of file parameterviewer.h.

◆ ID_STATICTEXT7

const long Skyscraper::ParameterViewer::ID_STATICTEXT7 = wxNewId()
staticprotected

Definition at line 115 of file parameterviewer.h.

◆ ID_STATICTEXT8

const long Skyscraper::ParameterViewer::ID_STATICTEXT8 = wxNewId()
staticprotected

Definition at line 117 of file parameterviewer.h.

◆ ID_STATICTEXT9

const long Skyscraper::ParameterViewer::ID_STATICTEXT9 = wxNewId()
staticprotected

Definition at line 119 of file parameterviewer.h.

◆ ID_t11

const long Skyscraper::ParameterViewer::ID_t11 = wxNewId()
staticprotected

Definition at line 124 of file parameterviewer.h.

◆ ID_t12

const long Skyscraper::ParameterViewer::ID_t12 = wxNewId()
staticprotected

Definition at line 126 of file parameterviewer.h.

◆ ID_t13

const long Skyscraper::ParameterViewer::ID_t13 = wxNewId()
staticprotected

Definition at line 128 of file parameterviewer.h.

◆ ID_t14

const long Skyscraper::ParameterViewer::ID_t14 = wxNewId()
staticprotected

Definition at line 130 of file parameterviewer.h.

◆ ID_t15

const long Skyscraper::ParameterViewer::ID_t15 = wxNewId()
staticprotected

Definition at line 132 of file parameterviewer.h.

◆ ID_t16

const long Skyscraper::ParameterViewer::ID_t16 = wxNewId()
staticprotected

Definition at line 134 of file parameterviewer.h.

◆ ID_t17

const long Skyscraper::ParameterViewer::ID_t17 = wxNewId()
staticprotected

Definition at line 136 of file parameterviewer.h.

◆ ID_t18

const long Skyscraper::ParameterViewer::ID_t18 = wxNewId()
staticprotected

Definition at line 138 of file parameterviewer.h.

◆ ID_t19

const long Skyscraper::ParameterViewer::ID_t19 = wxNewId()
staticprotected

Definition at line 140 of file parameterviewer.h.

◆ ID_t20

const long Skyscraper::ParameterViewer::ID_t20 = wxNewId()
staticprotected

Definition at line 142 of file parameterviewer.h.

◆ ID_tCommand

const long Skyscraper::ParameterViewer::ID_tCommand = wxNewId()
staticprotected

Definition at line 144 of file parameterviewer.h.

◆ ID_tDesc

const long Skyscraper::ParameterViewer::ID_tDesc = wxNewId()
staticprotected

Definition at line 101 of file parameterviewer.h.

◆ ID_TEXTCTRL1

const long Skyscraper::ParameterViewer::ID_TEXTCTRL1 = wxNewId()
staticprotected

Definition at line 104 of file parameterviewer.h.

◆ ID_TEXTCTRL10

const long Skyscraper::ParameterViewer::ID_TEXTCTRL10 = wxNewId()
staticprotected

Definition at line 122 of file parameterviewer.h.

◆ ID_TEXTCTRL2

const long Skyscraper::ParameterViewer::ID_TEXTCTRL2 = wxNewId()
staticprotected

Definition at line 106 of file parameterviewer.h.

◆ ID_TEXTCTRL3

const long Skyscraper::ParameterViewer::ID_TEXTCTRL3 = wxNewId()
staticprotected

Definition at line 108 of file parameterviewer.h.

◆ ID_TEXTCTRL4

const long Skyscraper::ParameterViewer::ID_TEXTCTRL4 = wxNewId()
staticprotected

Definition at line 110 of file parameterviewer.h.

◆ ID_TEXTCTRL5

const long Skyscraper::ParameterViewer::ID_TEXTCTRL5 = wxNewId()
staticprotected

Definition at line 112 of file parameterviewer.h.

◆ ID_TEXTCTRL6

const long Skyscraper::ParameterViewer::ID_TEXTCTRL6 = wxNewId()
staticprotected

Definition at line 114 of file parameterviewer.h.

◆ ID_TEXTCTRL7

const long Skyscraper::ParameterViewer::ID_TEXTCTRL7 = wxNewId()
staticprotected

Definition at line 116 of file parameterviewer.h.

◆ ID_TEXTCTRL8

const long Skyscraper::ParameterViewer::ID_TEXTCTRL8 = wxNewId()
staticprotected

Definition at line 118 of file parameterviewer.h.

◆ ID_TEXTCTRL9

const long Skyscraper::ParameterViewer::ID_TEXTCTRL9 = wxNewId()
staticprotected

Definition at line 120 of file parameterviewer.h.

◆ ID_tVariables

const long Skyscraper::ParameterViewer::ID_tVariables = wxNewId()
staticprotected

Definition at line 102 of file parameterviewer.h.

◆ l1

wxStaticText* Skyscraper::ParameterViewer::l1

Definition at line 58 of file parameterviewer.h.

Referenced by Setup().

◆ l10

wxStaticText* Skyscraper::ParameterViewer::l10

Definition at line 48 of file parameterviewer.h.

Referenced by Setup().

◆ l11

wxStaticText* Skyscraper::ParameterViewer::l11

Definition at line 49 of file parameterviewer.h.

Referenced by Setup().

◆ l12

wxStaticText* Skyscraper::ParameterViewer::l12

Definition at line 50 of file parameterviewer.h.

Referenced by Setup().

◆ l13

wxStaticText* Skyscraper::ParameterViewer::l13

Definition at line 51 of file parameterviewer.h.

Referenced by Setup().

◆ l14

wxStaticText* Skyscraper::ParameterViewer::l14

Definition at line 52 of file parameterviewer.h.

Referenced by Setup().

◆ l15

wxStaticText* Skyscraper::ParameterViewer::l15

Definition at line 53 of file parameterviewer.h.

Referenced by Setup().

◆ l16

wxStaticText* Skyscraper::ParameterViewer::l16

Definition at line 54 of file parameterviewer.h.

Referenced by Setup().

◆ l17

wxStaticText* Skyscraper::ParameterViewer::l17

Definition at line 55 of file parameterviewer.h.

Referenced by Setup().

◆ l18

wxStaticText* Skyscraper::ParameterViewer::l18

Definition at line 56 of file parameterviewer.h.

Referenced by Setup().

◆ l19

wxStaticText* Skyscraper::ParameterViewer::l19

Definition at line 57 of file parameterviewer.h.

Referenced by Setup().

◆ l2

wxStaticText* Skyscraper::ParameterViewer::l2

Definition at line 60 of file parameterviewer.h.

Referenced by Setup().

◆ l20

wxStaticText* Skyscraper::ParameterViewer::l20

Definition at line 59 of file parameterviewer.h.

Referenced by Setup().

◆ l3

wxStaticText* Skyscraper::ParameterViewer::l3

Definition at line 61 of file parameterviewer.h.

Referenced by Setup().

◆ l4

wxStaticText* Skyscraper::ParameterViewer::l4

Definition at line 62 of file parameterviewer.h.

Referenced by Setup().

◆ l5

wxStaticText* Skyscraper::ParameterViewer::l5

Definition at line 63 of file parameterviewer.h.

Referenced by Setup().

◆ l6

wxStaticText* Skyscraper::ParameterViewer::l6

Definition at line 64 of file parameterviewer.h.

Referenced by Setup().

◆ l7

wxStaticText* Skyscraper::ParameterViewer::l7

Definition at line 65 of file parameterviewer.h.

Referenced by Setup().

◆ l8

wxStaticText* Skyscraper::ParameterViewer::l8

Definition at line 66 of file parameterviewer.h.

Referenced by Setup().

◆ l9

wxStaticText* Skyscraper::ParameterViewer::l9

Definition at line 67 of file parameterviewer.h.

Referenced by Setup().

◆ objectparent

wxString Skyscraper::ParameterViewer::objectparent

Definition at line 93 of file parameterviewer.h.

Referenced by ChangeParam(), and Setup().

◆ objecttype

wxString Skyscraper::ParameterViewer::objecttype

Definition at line 92 of file parameterviewer.h.

Referenced by ChangeParam(), and Setup().

◆ panel

DebugPanel* Skyscraper::ParameterViewer::panel
private

Definition at line 162 of file parameterviewer.h.

Referenced by On_bOK_Click(), and Setup().

◆ Simcore

SBS::SBS* Skyscraper::ParameterViewer::Simcore
private

Definition at line 161 of file parameterviewer.h.

Referenced by On_bOK_Click(), On_bTextures_Click(), and Setup().

◆ StaticText1

wxStaticText* Skyscraper::ParameterViewer::StaticText1

Definition at line 47 of file parameterviewer.h.

◆ t1

wxTextCtrl* Skyscraper::ParameterViewer::t1

Definition at line 80 of file parameterviewer.h.

Referenced by ChangeParam(), and Setup().

◆ t10

wxTextCtrl* Skyscraper::ParameterViewer::t10

Definition at line 70 of file parameterviewer.h.

Referenced by ChangeParam(), and Setup().

◆ t11

wxTextCtrl* Skyscraper::ParameterViewer::t11

Definition at line 71 of file parameterviewer.h.

Referenced by ChangeParam(), and Setup().

◆ t12

wxTextCtrl* Skyscraper::ParameterViewer::t12

Definition at line 72 of file parameterviewer.h.

Referenced by ChangeParam(), and Setup().

◆ t13

wxTextCtrl* Skyscraper::ParameterViewer::t13

Definition at line 73 of file parameterviewer.h.

Referenced by ChangeParam(), and Setup().

◆ t14

wxTextCtrl* Skyscraper::ParameterViewer::t14

Definition at line 74 of file parameterviewer.h.

Referenced by ChangeParam(), and Setup().

◆ t15

wxTextCtrl* Skyscraper::ParameterViewer::t15

Definition at line 75 of file parameterviewer.h.

Referenced by ChangeParam(), and Setup().

◆ t16

wxTextCtrl* Skyscraper::ParameterViewer::t16

Definition at line 76 of file parameterviewer.h.

Referenced by ChangeParam(), and Setup().

◆ t17

wxTextCtrl* Skyscraper::ParameterViewer::t17

Definition at line 77 of file parameterviewer.h.

Referenced by ChangeParam(), and Setup().

◆ t18

wxTextCtrl* Skyscraper::ParameterViewer::t18

Definition at line 78 of file parameterviewer.h.

Referenced by ChangeParam(), and Setup().

◆ t19

wxTextCtrl* Skyscraper::ParameterViewer::t19

Definition at line 79 of file parameterviewer.h.

Referenced by ChangeParam(), and Setup().

◆ t2

wxTextCtrl* Skyscraper::ParameterViewer::t2

Definition at line 82 of file parameterviewer.h.

Referenced by ChangeParam(), and Setup().

◆ t20

wxTextCtrl* Skyscraper::ParameterViewer::t20

Definition at line 81 of file parameterviewer.h.

Referenced by ChangeParam(), and Setup().

◆ t3

wxTextCtrl* Skyscraper::ParameterViewer::t3

Definition at line 83 of file parameterviewer.h.

Referenced by ChangeParam(), and Setup().

◆ t4

wxTextCtrl* Skyscraper::ParameterViewer::t4

Definition at line 84 of file parameterviewer.h.

Referenced by ChangeParam(), and Setup().

◆ t5

wxTextCtrl* Skyscraper::ParameterViewer::t5

Definition at line 85 of file parameterviewer.h.

Referenced by ChangeParam(), and Setup().

◆ t6

wxTextCtrl* Skyscraper::ParameterViewer::t6

Definition at line 86 of file parameterviewer.h.

Referenced by ChangeParam(), and Setup().

◆ t7

wxTextCtrl* Skyscraper::ParameterViewer::t7

Definition at line 87 of file parameterviewer.h.

Referenced by ChangeParam(), and Setup().

◆ t8

wxTextCtrl* Skyscraper::ParameterViewer::t8

Definition at line 88 of file parameterviewer.h.

Referenced by ChangeParam(), and Setup().

◆ t9

wxTextCtrl* Skyscraper::ParameterViewer::t9

Definition at line 89 of file parameterviewer.h.

Referenced by ChangeParam(), and Setup().

◆ tCommand

wxTextCtrl* Skyscraper::ParameterViewer::tCommand

Definition at line 90 of file parameterviewer.h.

Referenced by ChangeParam().

◆ tDesc

wxStaticText* Skyscraper::ParameterViewer::tDesc

Definition at line 68 of file parameterviewer.h.

Referenced by Setup().

◆ tVariables

wxStaticText* Skyscraper::ParameterViewer::tVariables

Definition at line 69 of file parameterviewer.h.

Referenced by Setup().


The documentation for this class was generated from the following files: