35 #include <wx/statline.h>
36 #include <wx/spinctrl.h>
69 memoryControl_(NULL), asInfoText_(NULL) {
72 simulator_ = wxGetApp().simulation()->frontend();
74 if (simulator_->isSimulationInitialized() ||
75 simulator_->isSimulationStopped() ||
76 simulator_->hasSimulationEnded()) {
113 asInfo.Prepend(_T(
" "));
114 asInfo.Append(_T(
": "));
118 asInfo.Append(_T(
" - "));
123 asInfo.Append(_T(
" MAU: "));
159 for (
unsigned int i = 0; i < memorySystem.
memoryCount(); i++) {
164 wxCommandEvent
dummy;
200 for (
unsigned i = 0; i < reads; i++) {
203 access.first, access.second, *wxGREEN);
207 for (
unsigned i = 0; i < writes; i++) {
210 access.first, access.second, *wxRED);
223 sizer_=
new wxBoxSizer(wxVERTICAL);
224 wxBoxSizer *item1 =
new wxBoxSizer(wxHORIZONTAL);
225 wxStaticText *item2 =
new wxStaticText(
227 wxDefaultPosition, wxDefaultSize, 0);
229 item1->Add(item2, 0, wxALIGN_CENTER|wxALL, 5);
231 wxString *strs3 = (wxString*) NULL;
233 this,
ID_AS_CHOICE, wxDefaultPosition, wxSize(150,-1), 0, strs3, 0);
235 item1->Add(
asChoice_, 0, wxALIGN_CENTER|wxALL, 5);
236 sizer_->Add(item1, 0, wxALIGN_CENTER|wxALL, 5);
238 wxStaticLine *item4 =
new wxStaticLine(
239 this,
ID_LINE, wxDefaultPosition, wxSize(20,-1), wxLI_HORIZONTAL);
241 sizer_->Add(item4, 0, wxGROW|wxALL, 5);
247 sizer_->SetSizeHints(
this);