#include "public_editor.h"
using namespace Gtk;
+using namespace PBD;
/* <CMT Additions file="editor.cc"> */
}
// XXX should really put this somewhere safe
- std::string host_ip = "127.0.0.1" ;
+ const char * host_ip = "127.0.0.1" ;
- bool retcode = image_socket_listener->connect(host_ip,ardourvis::DEFAULT_PORT) ;
+ bool retcode = image_socket_listener->connect(host_ip, ardourvis::DEFAULT_PORT) ;
if(retcode == false)
{
drag_info.motion_callback = &Editor::imageframe_start_handle_trim_motion ;
drag_info.finished_callback = &Editor::imageframe_start_handle_end_trim ;
- flush_track_canvas() ;
-
start_grab(event) ;
show_verbose_time_cursor(ifv->get_position(), 10) ;
drag_info.motion_callback = &Editor::imageframe_end_handle_trim_motion ;
drag_info.finished_callback = &Editor::imageframe_end_handle_end_trim ;
- flush_track_canvas() ;
-
start_grab(event, trimmer_cursor) ;
show_verbose_time_cursor(ifv->get_position() + ifv->get_duration(), 10) ;
ifv->set_position((jack_nframes_t) (temp - drag_info.cumulative_x_drag), this) ;
ifv->set_duration((jack_nframes_t) drag_info.cumulative_x_drag, this) ;
}
-
- flush_track_canvas() ;
}
void
ifv->set_duration(new_duration, this) ;
}
}
-
- flush_track_canvas ();
}
drag_info.motion_callback = &Editor::markerview_start_handle_trim_motion ;
drag_info.finished_callback = &Editor::markerview_start_handle_end_trim ;
- flush_track_canvas() ;
-
start_grab(event, trimmer_cursor) ;
}
drag_info.motion_callback = &Editor::markerview_end_handle_trim_motion ;
drag_info.finished_callback = &Editor::markerview_end_handle_end_trim ;
- flush_track_canvas () ;
-
start_grab(event, trimmer_cursor) ;
}
mv->set_position((jack_nframes_t) (temp - drag_info.cumulative_x_drag), this) ;
mv->set_duration((jack_nframes_t) drag_info.cumulative_x_drag, this) ;
}
-
- flush_track_canvas() ;
}
void
jack_nframes_t new_duration = (jack_nframes_t)drag_info.cumulative_x_drag ;
mv->set_duration(new_duration, this) ;
}
-
- flush_track_canvas() ;
}
row[route_display_columns.text] = iftav->name();
row[route_display_columns.tv] = iftav;
- route_list.get_selection()->select (row);
+ route_list_display.get_selection()->select (row);
iftav->GoingAway.connect(bind(mem_fun(*this, &Editor::remove_route), (TimeAxisView*)iftav)) ;
iftav->gui_changed.connect(mem_fun(*this, &Editor::handle_gui_changes)) ;
row[route_display_columns.text] = mta->name();
row[route_display_columns.tv] = mta;
- route_list.get_selection()->select (row);
+ route_list_display.get_selection()->select (row);
mta->GoingAway.connect(bind(mem_fun(*this, &Editor::remove_route), (TimeAxisView*)mta)) ;
}