2005-09-25 14:42:24 -04:00
|
|
|
#include "public_editor.h"
|
|
|
|
#include "editor.h"
|
|
|
|
|
|
|
|
PublicEditor* PublicEditor::_instance = 0;
|
|
|
|
|
|
|
|
PublicEditor::PublicEditor ()
|
2005-10-05 09:48:09 -04:00
|
|
|
: Window (Gtk::WINDOW_TOPLEVEL),
|
2005-09-25 14:42:24 -04:00
|
|
|
KeyboardTarget (*this, "editor")
|
|
|
|
{
|
|
|
|
}
|
|
|
|
|
|
|
|
PublicEditor::~PublicEditor()
|
|
|
|
{
|
|
|
|
}
|
|
|
|
|
|
|
|
gint
|
2005-09-25 18:26:56 -04:00
|
|
|
PublicEditor::canvas_fade_in_event (GnomeCanvasItem* item, GdkEvent* event, gpointer data) {
|
2005-10-05 09:48:09 -04:00
|
|
|
return instance()->canvas_fade_in_event (item, event, data);
|
2005-09-25 14:42:24 -04:00
|
|
|
}
|
|
|
|
gint
|
2005-09-25 18:26:56 -04:00
|
|
|
PublicEditor::canvas_fade_in_handle_event (GnomeCanvasItem* item, GdkEvent* event, gpointer data) {
|
2005-10-05 09:48:09 -04:00
|
|
|
return instance()->canvas_fade_in_handle_event (item, event, data);
|
2005-09-25 14:42:24 -04:00
|
|
|
}
|
|
|
|
gint
|
2005-09-25 18:26:56 -04:00
|
|
|
PublicEditor::canvas_fade_out_event (GnomeCanvasItem* item, GdkEvent* event, gpointer data) {
|
2005-10-05 09:48:09 -04:00
|
|
|
return instance()->canvas_fade_out_event (item, event, data);
|
2005-09-25 14:42:24 -04:00
|
|
|
}
|
|
|
|
gint
|
2005-09-25 18:26:56 -04:00
|
|
|
PublicEditor::canvas_fade_out_handle_event (GnomeCanvasItem* item, GdkEvent* event, gpointer data) {
|
2005-10-05 09:48:09 -04:00
|
|
|
return instance()->canvas_fade_out_handle_event (item, event, data);
|
2005-09-25 14:42:24 -04:00
|
|
|
}
|
|
|
|
gint
|
2005-09-25 18:26:56 -04:00
|
|
|
PublicEditor::canvas_crossfade_view_event (GnomeCanvasItem* item, GdkEvent* event, gpointer data) {
|
2005-10-05 09:48:09 -04:00
|
|
|
return instance()->canvas_crossfade_view_event (item, event, data);
|
2005-09-25 14:42:24 -04:00
|
|
|
}
|
|
|
|
gint
|
2005-09-25 18:26:56 -04:00
|
|
|
PublicEditor::canvas_region_view_event (GnomeCanvasItem* item, GdkEvent* event, gpointer data) {
|
2005-10-05 09:48:09 -04:00
|
|
|
return instance()->canvas_region_view_event (item, event, data);
|
2005-09-25 14:42:24 -04:00
|
|
|
}
|
|
|
|
gint
|
2005-09-25 18:26:56 -04:00
|
|
|
PublicEditor::canvas_region_view_name_highlight_event (GnomeCanvasItem* item, GdkEvent* event, gpointer data) {
|
2005-10-05 09:48:09 -04:00
|
|
|
return instance()->canvas_region_view_name_highlight_event (item, event, data);
|
2005-09-25 14:42:24 -04:00
|
|
|
}
|
|
|
|
gint
|
2005-09-25 18:26:56 -04:00
|
|
|
PublicEditor::canvas_region_view_name_event (GnomeCanvasItem* item, GdkEvent* event, gpointer data) {
|
2005-10-05 09:48:09 -04:00
|
|
|
return instance()->canvas_region_view_name_event (item, event, data);
|
2005-09-25 14:42:24 -04:00
|
|
|
}
|
|
|
|
gint
|
2005-09-25 18:26:56 -04:00
|
|
|
PublicEditor::canvas_stream_view_event (GnomeCanvasItem* item, GdkEvent* event, gpointer data) {
|
2005-10-05 09:48:09 -04:00
|
|
|
return instance()->canvas_stream_view_event (item, event, data);
|
2005-09-25 14:42:24 -04:00
|
|
|
}
|
|
|
|
gint
|
2005-09-25 18:26:56 -04:00
|
|
|
PublicEditor::canvas_automation_track_event (GnomeCanvasItem* item, GdkEvent* event, gpointer data) {
|
2005-10-05 09:48:09 -04:00
|
|
|
return instance()->canvas_automation_track_event (item, event, data);
|
2005-09-25 14:42:24 -04:00
|
|
|
}
|
|
|
|
gint
|
2005-09-25 18:26:56 -04:00
|
|
|
PublicEditor::canvas_marker_event (GnomeCanvasItem* item, GdkEvent* event, gpointer data) {
|
2005-10-05 09:48:09 -04:00
|
|
|
return instance()->canvas_marker_event (item, event, data);
|
2005-09-25 14:42:24 -04:00
|
|
|
}
|
|
|
|
gint
|
2005-09-25 18:26:56 -04:00
|
|
|
PublicEditor::canvas_zoom_rect_event (GnomeCanvasItem* item, GdkEvent* event, gpointer data) {
|
2005-10-05 09:48:09 -04:00
|
|
|
return instance()->canvas_zoom_rect_event (item, event, data);
|
2005-09-25 14:42:24 -04:00
|
|
|
}
|
|
|
|
gint
|
2005-09-25 18:26:56 -04:00
|
|
|
PublicEditor::canvas_selection_rect_event (GnomeCanvasItem* item, GdkEvent* event, gpointer data) {
|
2005-10-05 09:48:09 -04:00
|
|
|
return instance()->canvas_selection_rect_event (item, event, data);
|
2005-09-25 14:42:24 -04:00
|
|
|
}
|
|
|
|
gint
|
2005-09-25 18:26:56 -04:00
|
|
|
PublicEditor::canvas_selection_start_trim_event (GnomeCanvasItem* item, GdkEvent* event, gpointer data) {
|
2005-10-05 09:48:09 -04:00
|
|
|
return instance()->canvas_selection_start_trim_event (item, event, data);
|
2005-09-25 14:42:24 -04:00
|
|
|
}
|
|
|
|
gint
|
2005-09-25 18:26:56 -04:00
|
|
|
PublicEditor::canvas_selection_end_trim_event (GnomeCanvasItem* item, GdkEvent* event, gpointer data) {
|
2005-10-05 09:48:09 -04:00
|
|
|
return instance()->canvas_selection_end_trim_event (item, event, data);
|
2005-09-25 14:42:24 -04:00
|
|
|
}
|
|
|
|
gint
|
2005-09-25 18:26:56 -04:00
|
|
|
PublicEditor::canvas_control_point_event (GnomeCanvasItem* item, GdkEvent* event, gpointer data) {
|
2005-10-05 09:48:09 -04:00
|
|
|
return instance()->canvas_control_point_event (item, event, data);
|
2005-09-25 14:42:24 -04:00
|
|
|
}
|
|
|
|
gint
|
2005-09-25 18:26:56 -04:00
|
|
|
PublicEditor::canvas_line_event (GnomeCanvasItem* item, GdkEvent* event, gpointer data) {
|
2005-10-05 09:48:09 -04:00
|
|
|
return instance()->canvas_line_event (item, event, data);
|
2005-09-25 14:42:24 -04:00
|
|
|
}
|
|
|
|
gint
|
2005-09-25 18:26:56 -04:00
|
|
|
PublicEditor::canvas_tempo_marker_event (GnomeCanvasItem* item, GdkEvent* event, gpointer data) {
|
2005-10-05 09:48:09 -04:00
|
|
|
return instance()->canvas_tempo_marker_event (item, event, data);
|
2005-09-25 14:42:24 -04:00
|
|
|
}
|
|
|
|
gint
|
2005-09-25 18:26:56 -04:00
|
|
|
PublicEditor::canvas_meter_marker_event (GnomeCanvasItem* item, GdkEvent* event, gpointer data) {
|
2005-10-05 09:48:09 -04:00
|
|
|
return instance()->canvas_meter_marker_event (item, event, data);
|
2005-09-25 14:42:24 -04:00
|
|
|
}
|
|
|
|
gint
|
2005-09-25 18:26:56 -04:00
|
|
|
PublicEditor::canvas_tempo_bar_event (GnomeCanvasItem* item, GdkEvent* event, gpointer data) {
|
2005-10-05 09:48:09 -04:00
|
|
|
return instance()->canvas_tempo_bar_event (item, event, data);
|
2005-09-25 14:42:24 -04:00
|
|
|
}
|
|
|
|
gint
|
2005-09-25 18:26:56 -04:00
|
|
|
PublicEditor::canvas_meter_bar_event (GnomeCanvasItem* item, GdkEvent* event, gpointer data) {
|
2005-10-05 09:48:09 -04:00
|
|
|
return instance()->canvas_meter_bar_event (item, event, data);
|
2005-09-25 14:42:24 -04:00
|
|
|
}
|
|
|
|
gint
|
2005-09-25 18:26:56 -04:00
|
|
|
PublicEditor::canvas_marker_bar_event (GnomeCanvasItem* item, GdkEvent* event, gpointer data) {
|
2005-10-05 09:48:09 -04:00
|
|
|
return instance()->canvas_marker_bar_event (item, event, data);
|
2005-09-25 14:42:24 -04:00
|
|
|
}
|
|
|
|
gint
|
2005-09-25 18:26:56 -04:00
|
|
|
PublicEditor::canvas_range_marker_bar_event (GnomeCanvasItem* item, GdkEvent* event, gpointer data) {
|
2005-10-05 09:48:09 -04:00
|
|
|
return instance()->canvas_range_marker_bar_event (item, event, data);
|
2005-09-25 14:42:24 -04:00
|
|
|
}
|
|
|
|
gint
|
2005-09-25 18:26:56 -04:00
|
|
|
PublicEditor::canvas_transport_marker_bar_event (GnomeCanvasItem* item, GdkEvent* event, gpointer data) {
|
2005-10-05 09:48:09 -04:00
|
|
|
return instance()->canvas_transport_marker_bar_event (item, event, data);
|
2005-09-25 14:42:24 -04:00
|
|
|
}
|
|
|
|
|
|
|
|
gint
|
2005-09-25 18:26:56 -04:00
|
|
|
PublicEditor::canvas_imageframe_item_view_event(GnomeCanvasItem *item, GdkEvent* event, gpointer data) {
|
2005-10-05 09:48:09 -04:00
|
|
|
return instance()->canvas_imageframe_item_view_event(item, event, data);
|
2005-09-25 14:42:24 -04:00
|
|
|
}
|
|
|
|
gint
|
2005-09-25 18:26:56 -04:00
|
|
|
PublicEditor::canvas_imageframe_view_event(GnomeCanvasItem *item, GdkEvent* event, gpointer data) {
|
2005-10-05 09:48:09 -04:00
|
|
|
return instance()->canvas_imageframe_view_event(item, event, data);
|
2005-09-25 14:42:24 -04:00
|
|
|
}
|
|
|
|
gint
|
2005-09-25 18:26:56 -04:00
|
|
|
PublicEditor::canvas_imageframe_start_handle_event(GnomeCanvasItem* item, GdkEvent* event, gpointer data) {
|
2005-10-05 09:48:09 -04:00
|
|
|
return instance()->canvas_imageframe_start_handle_event(item, event, data);
|
2005-09-25 14:42:24 -04:00
|
|
|
}
|
|
|
|
gint
|
2005-09-25 18:26:56 -04:00
|
|
|
PublicEditor::canvas_imageframe_end_handle_event(GnomeCanvasItem* item, GdkEvent* event, gpointer data) {
|
2005-10-05 09:48:09 -04:00
|
|
|
return instance()->canvas_imageframe_end_handle_event(item, event, data);
|
2005-09-25 14:42:24 -04:00
|
|
|
}
|
|
|
|
gint
|
2005-09-25 18:26:56 -04:00
|
|
|
PublicEditor::canvas_marker_time_axis_view_event(GnomeCanvasItem* item, GdkEvent* event, gpointer data) {
|
2005-10-05 09:48:09 -04:00
|
|
|
return instance()->canvas_marker_time_axis_view_event(item, event, data);
|
2005-09-25 14:42:24 -04:00
|
|
|
}
|
|
|
|
gint
|
2005-09-25 18:26:56 -04:00
|
|
|
PublicEditor::canvas_markerview_item_view_event(GnomeCanvasItem* item, GdkEvent* event, gpointer data) {
|
2005-10-05 09:48:09 -04:00
|
|
|
return instance()->canvas_markerview_item_view_event(item, event, data);
|
2005-09-25 14:42:24 -04:00
|
|
|
}
|
|
|
|
gint
|
2005-09-25 18:26:56 -04:00
|
|
|
PublicEditor::canvas_markerview_start_handle_event(GnomeCanvasItem* item, GdkEvent* event, gpointer data) {
|
2005-10-05 09:48:09 -04:00
|
|
|
return instance()->canvas_markerview_start_handle_event(item, event, data);
|
2005-09-25 14:42:24 -04:00
|
|
|
}
|
|
|
|
gint
|
2005-09-25 18:26:56 -04:00
|
|
|
PublicEditor::canvas_markerview_end_handle_event(GnomeCanvasItem* item, GdkEvent* event, gpointer data) {
|
2005-10-05 09:48:09 -04:00
|
|
|
return instance()->canvas_markerview_end_handle_event(item, event, data);
|
2005-09-25 14:42:24 -04:00
|
|
|
}
|