73 wxGridCellAttr* attr =
new wxGridCellAttr();
81 program.targetProcessor().busNavigator();
85 if (move >= nav.
count()) {
98 for (; index < instruction.
moveCount(); index++) {
99 if (moveBus == &instruction.
move(index).
bus()) {
109 if (executions > 0) {
111 int colour =
static_cast<int>(
112 5 * 255 * sin((executions / cycles) * 0.5 * 3.1415926));
113 if (colour > 255) colour = 255;
114 attr->SetBackgroundColour(
115 wxColour(255, 255 - colour, 255 - colour));
118 attr->SetBackgroundColour(wxColour(220, 220, 220));