Fix up summary mouse cursors.

git-svn-id: svn://localhost/ardour2/branches/3.0@8035 d708f5d6-7413-0410-9779-e7cbd77b26cf
This commit is contained in:
Carl Hetherington 2010-11-14 21:55:21 +00:00
parent 3b7302ecd4
commit fc142a3fe6
3 changed files with 73 additions and 10 deletions

View file

@ -412,31 +412,31 @@ EditorSummary::set_cursor (Position p)
{
switch (p) {
case LEFT:
get_window()->set_cursor (*_editor->left_side_trim_cursor);
get_window()->set_cursor (*_editor->resize_left_cursor);
break;
case LEFT_TOP:
get_window()->set_cursor (Gdk::Cursor (Gdk::TOP_LEFT_CORNER));
get_window()->set_cursor (*_editor->resize_top_left_cursor);
break;
case TOP:
get_window()->set_cursor (Gdk::Cursor (Gdk::TOP_SIDE));
get_window()->set_cursor (*_editor->resize_top_cursor);
break;
case RIGHT_TOP:
get_window()->set_cursor (Gdk::Cursor (Gdk::TOP_RIGHT_CORNER));
get_window()->set_cursor (*_editor->resize_top_right_cursor);
break;
case RIGHT:
get_window()->set_cursor (*_editor->right_side_trim_cursor);
get_window()->set_cursor (*_editor->resize_right_cursor);
break;
case RIGHT_BOTTOM:
get_window()->set_cursor (Gdk::Cursor (Gdk::BOTTOM_RIGHT_CORNER));
get_window()->set_cursor (*_editor->resize_bottom_right_cursor);
break;
case BOTTOM:
get_window()->set_cursor (Gdk::Cursor (Gdk::BOTTOM_SIDE));
get_window()->set_cursor (*_editor->resize_bottom_cursor);
break;
case LEFT_BOTTOM:
get_window()->set_cursor (Gdk::Cursor (Gdk::BOTTOM_LEFT_CORNER));
get_window()->set_cursor (*_editor->resize_bottom_left_cursor);
break;
case INSIDE:
get_window()->set_cursor (Gdk::Cursor (Gdk::FLEUR));
get_window()->set_cursor (*_editor->move_cursor);
break;
default:
get_window()->set_cursor ();