diff options
author | Paul Davis <paul@linuxaudiosystems.com> | 2010-06-17 13:35:42 +0000 |
---|---|---|
committer | Paul Davis <paul@linuxaudiosystems.com> | 2010-06-17 13:35:42 +0000 |
commit | ac9589ff2c589d079a600106b59a1772ce61b624 (patch) | |
tree | 0d919523045e7d79b4a009a2dd8637afb85d2864 /gtk2_ardour | |
parent | 7e3ebe1267405510a528a0721cc61a6686d4efec (diff) |
use image cursors for left/right trim cursors
git-svn-id: svn://localhost/ardour2/branches/3.0@7269 d708f5d6-7413-0410-9779-e7cbd77b26cf
Diffstat (limited to 'gtk2_ardour')
-rw-r--r-- | gtk2_ardour/editor.cc | 13 | ||||
-rw-r--r-- | gtk2_ardour/icons/trim_left_cursor.png | bin | 0 -> 467 bytes | |||
-rw-r--r-- | gtk2_ardour/icons/trim_right_cursor.png | bin | 0 -> 450 bytes |
3 files changed, 11 insertions, 2 deletions
diff --git a/gtk2_ardour/editor.cc b/gtk2_ardour/editor.cc index 92d3239e8a..b923955c8d 100644 --- a/gtk2_ardour/editor.cc +++ b/gtk2_ardour/editor.cc @@ -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); diff --git a/gtk2_ardour/icons/trim_left_cursor.png b/gtk2_ardour/icons/trim_left_cursor.png Binary files differnew file mode 100644 index 0000000000..d8ab14daa0 --- /dev/null +++ b/gtk2_ardour/icons/trim_left_cursor.png diff --git a/gtk2_ardour/icons/trim_right_cursor.png b/gtk2_ardour/icons/trim_right_cursor.png Binary files differnew file mode 100644 index 0000000000..dcaf8e8287 --- /dev/null +++ b/gtk2_ardour/icons/trim_right_cursor.png |