diff options
author | Carl Hetherington <carl@carlh.net> | 2010-11-16 14:53:16 +0000 |
---|---|---|
committer | Carl Hetherington <carl@carlh.net> | 2010-11-16 14:53:16 +0000 |
commit | 8fc660e76e50920d744942c241275849b7b9720e (patch) | |
tree | 3cccf87a1f913822f812e9d3f4a44d06d39278fb /gtk2_ardour/editor_ops.cc | |
parent | 840a81a0e452b39ee7e8c32484c12c3a53ce8172 (diff) |
Move mouse cursor stuff out of Editor into its own class.
git-svn-id: svn://localhost/ardour2/branches/3.0@8048 d708f5d6-7413-0410-9779-e7cbd77b26cf
Diffstat (limited to 'gtk2_ardour/editor_ops.cc')
-rw-r--r-- | gtk2_ardour/editor_ops.cc | 10 |
1 files changed, 6 insertions, 4 deletions
diff --git a/gtk2_ardour/editor_ops.cc b/gtk2_ardour/editor_ops.cc index 3cf4e1747a..2396c362d1 100644 --- a/gtk2_ardour/editor_ops.cc +++ b/gtk2_ardour/editor_ops.cc @@ -82,6 +82,8 @@ #include "interthread_progress_window.h" #include "insert_time_dialog.h" #include "normalize_dialog.h" +#include "editor_cursors.h" +#include "mouse_cursors.h" #include "i18n.h" @@ -3547,7 +3549,7 @@ Editor::freeze_route () pthread_create_and_store (X_("freezer"), &itt.thread, _freeze_thread, this); - set_canvas_cursor (wait_cursor); + set_canvas_cursor (_cursors->wait); while (!itt.done && !itt.cancel) { gtk_main_iteration (); @@ -4385,7 +4387,7 @@ Editor::normalize_region () return; } - set_canvas_cursor (wait_cursor); + set_canvas_cursor (_cursors->wait); gdk_flush (); /* XXX: should really only count audio regions here */ @@ -4611,7 +4613,7 @@ Editor::fork_region () begin_reversible_command (_("Fork Region(s)")); - set_canvas_cursor (wait_cursor); + set_canvas_cursor (_cursors->wait); gdk_flush (); for (RegionSelection::iterator r = rs.begin(); r != rs.end(); ) { @@ -4671,7 +4673,7 @@ Editor::apply_filter (Filter& filter, string command, ProgressReporter* progress begin_reversible_command (command); - set_canvas_cursor (wait_cursor); + set_canvas_cursor (_cursors->wait); gdk_flush (); int n = 0; |