if (tact->get_active() != x) {
tact->set_active (x);
}
- } else {
- cerr << group << ':' << action << " is not a toggle\n";
}
- } else {
- cerr << group << ':' << action << " not an action\n";
}
}
/* check whether session still exists */
if (!Glib::file_test(fullpath.c_str(), Glib::FILE_TEST_EXISTS)) {
/* session doesn't exist */
- cerr << "skipping non-existent session " << fullpath << endl;
continue;
}
try {
splash = new Splash;
} catch (...) {
- cerr << "Splash could not be created\n";
return;
}
}
AudioTimeAxisView::create_automation_child (const Evoral::Parameter& param, bool show)
{
if (param.type() == NullAutomation) {
- cerr << "WARNING: Attempt to create NullAutomation child, ignoring" << endl;
return;
}
auto_button.hide();
hide_button.hide();
}
- } else if (h >= preset_height (HeightNormal)) {
- cerr << "track grown, but neither changed_between_small_and_normal nor first_call_to_set_height set!" << endl;
}
if (changed) {
XMLNode* node = find_named_node (*settings, X_("Buttons"));
if (!node) {
- cerr << "new empty Button node\n";
node = new XMLNode (X_("Buttons"));
}
{
DropDownKeys ();
within_track_canvas = false;
- cerr << "left track canvas\n";
+ //cerr << "left track canvas\n";
set_entered_track (0);
set_entered_regionview (0);
reset_canvas_action_sensitivity (false);
bool
Editor::entered_track_canvas (GdkEventCrossing */*ev*/)
{
- cerr << "entered track canvas\n";
+ //cerr << "entered track canvas\n";
within_track_canvas = true;
reset_canvas_action_sensitivity (true);
return FALSE;
for (list<RegionView*>::const_iterator i = selection->regions.by_layer().begin();
i != selection->regions.by_layer().end(); ++i)
{
- if ( (*i) == NULL){
- cerr << "region view contains null region" << endl;
- }
-
if (!(*i)->region()->locked()) {
(*i)->region()->clear_changes ();
(*i)->region()->trim_front (new_bound);
framepos_t where = get_preferred_edit_position();
RegionSelection rs = get_regions_from_selection_and_edit_point ();
- cerr << "trim regions\n";
-
if (rs.empty()) {
- cerr << " no regions\n";
return;
}
- cerr << "where = " << where << endl;
-
begin_reversible_command (front ? _("trim front") : _("trim back"));
for (list<RegionView*>::const_iterator i = rs.by_layer().begin(); i != rs.by_layer().end(); ++i) {
case 12:
val = (*iter)[_columns.active_shared];
- cerr << "set group active to " << !val << endl;
group->set_route_active (!val);
ret = true;
break;
case Selection::Extend:
selection->clear();
- cerr << ("Editor::set_selected_track_as_side_effect case Selection::Add not yet implemented\n");
break;
}
}
unbind_button.set_sensitive (false);
- cerr << "trying to unbind\n";
-
if (i != model->children().end()) {
string path = (*i)[columns.path];
delta = trackview.editor().get_grid_type_as_beats (success, _region->position());
if (!success) {
/* XXX cannot get grid type as beats ... should always be possible ... FIX ME */
- cerr << "Grid type not available as beats - TO BE FIXED\n";
+ error << string_compose (_("programming error: %1"), "Grid type not available as beats - TO BE FIXED") << endmsg;
return;
}
}
MidiTimeAxisView::create_automation_child (const Evoral::Parameter& param, bool show)
{
if (param.type() == NullAutomation) {
- cerr << "WARNING: Attempt to create NullAutomation child, ignoring" << endl;
return;
}
* since it will have been set visible by default.
*/
- cerr << "show existing auto track: " << show << " noredraw " << no_redraw << endl;
-
if (existing->second->set_marked_for_display (show) && !no_redraw) {
request_redraw ();
}
string dirstr;
dirstr = s->source_search_path (type);
- cerr << "Search path = " << dirstr << endl;
replace_all (dirstr, ":", "\n");
msg.set_justify (JUSTIFY_CENTER);
static bool
lost_name_entry_focus (GdkEventFocus*)
{
- cerr << "lost focus\n";
+ // cerr << "lost focus\n";
return false;
}
void
ArdourStartup::new_name_mapped ()
{
- cerr << "Grab new name focus\n";
+ // cerr << "Grab new name focus\n";
new_name_entry.grab_focus ();
}