line_count_box.show ();
get_action_area()->add (line_count_box);
- get_action_area()->add (base_button);
- get_action_area()->add(collect_button);
- get_action_area()->add (autoscroll_button);
+
+ HBox* bbox = manage (new HBox);
+ bbox->add (base_button);
+ bbox->add (collect_button);
+ bbox->add (autoscroll_button);
+ bbox->show ();
+
+ get_action_area()->add (*bbox);
base_button.signal_toggled().connect (sigc::mem_fun (*this, &MidiTracer::base_toggle));
collect_button.signal_toggled().connect (sigc::mem_fun (*this, &MidiTracer::collect_toggle));
case program:
if (show_hex) {
- s += snprintf (&buf[s], bufsize, "%16s chn %2d %02x\n", "Program PropertyChange", (msg[0]&0xf)+1, (int) msg[1]);
+ s += snprintf (&buf[s], bufsize, "%16s chn %2d %02x\n", "Program Change", (msg[0]&0xf)+1, (int) msg[1]);
} else {
- s += snprintf (&buf[s], bufsize, "%16s chn %2d %-3d\n", "Program PropertyChange", (msg[0]&0xf)+1, (int) msg[1]);
+ s += snprintf (&buf[s], bufsize, "%16s chn %2d %-3d\n", "Program Change", (msg[0]&0xf)+1, (int) msg[1]);
}
break;
fifo.write (&buf, 1);
if (!update_queued) {
- gui_context()->call_slot (boost::bind (&MidiTracer::update, this));
+ gui_context()->call_slot (invalidator (*this), boost::bind (&MidiTracer::update, this));
update_queued = true;
}
}