use image cursors for left/right trim cursors

git-svn-id: svn://localhost/ardour2/branches/3.0@7269 d708f5d6-7413-0410-9779-e7cbd77b26cf
This commit is contained in:
Paul Davis 2010-06-17 13:35:42 +00:00
parent 7e3ebe1267
commit ac9589ff2c
3 changed files with 11 additions and 2 deletions

View File

@ -1242,8 +1242,17 @@ Editor::build_cursors ()
cross_hair_cursor = new Gdk::Cursor (CROSSHAIR);
trimmer_cursor = new Gdk::Cursor (SB_H_DOUBLE_ARROW);
left_side_trim_cursor = new Gdk::Cursor (SB_LEFT_ARROW);
right_side_trim_cursor = new Gdk::Cursor (SB_RIGHT_ARROW);
{
Glib::RefPtr<Gdk::Pixbuf> apixbuf (::get_icon ("trim_left_cursor"));
left_side_trim_cursor = new Gdk::Cursor (Gdk::Display::get_default(), apixbuf, 5, 17);
}
{
Glib::RefPtr<Gdk::Pixbuf> apixbuf (::get_icon ("trim_right_cursor"));
right_side_trim_cursor = new Gdk::Cursor (Gdk::Display::get_default(), apixbuf, 5, 17);
}
selector_cursor = new Gdk::Cursor (XTERM);
time_fx_cursor = new Gdk::Cursor (SIZING);
wait_cursor = new Gdk::Cursor (WATCH);

Binary file not shown.

After

Width:  |  Height:  |  Size: 467 B

Binary file not shown.

After

Width:  |  Height:  |  Size: 450 B