diff options
author | Paul Davis <paul@linuxaudiosystems.com> | 2012-05-29 20:29:47 +0000 |
---|---|---|
committer | Paul Davis <paul@linuxaudiosystems.com> | 2012-05-29 20:29:47 +0000 |
commit | ba418958bff3491a7565b67ce506ecb2052b7a39 (patch) | |
tree | ad6d19d933896e1dfdd74dcdf4d2c98663f9403d /gtk2_ardour/mouse_cursors.cc | |
parent | 1d5bade8a177e8f859c8163238210f0056393b44 (diff) |
patch from dave flick to tackle a variety of cursor issues
git-svn-id: svn://localhost/ardour2/branches/3.0@12481 d708f5d6-7413-0410-9779-e7cbd77b26cf
Diffstat (limited to 'gtk2_ardour/mouse_cursors.cc')
-rw-r--r-- | gtk2_ardour/mouse_cursors.cc | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/gtk2_ardour/mouse_cursors.cc b/gtk2_ardour/mouse_cursors.cc index fa3ce331d6..98e33d77d6 100644 --- a/gtk2_ardour/mouse_cursors.cc +++ b/gtk2_ardour/mouse_cursors.cc @@ -29,7 +29,7 @@ MouseCursors::MouseCursors () { RefPtr<Pixbuf> p (::get_icon ("zoom_in_cursor")); - zoom_in = new Cursor (Display::get_default(), p, 5, 5); + zoom_in = new Cursor (Display::get_default(), p, 10, 5); } { @@ -49,7 +49,7 @@ MouseCursors::MouseCursors () { RefPtr<Bitmap> source = Bitmap::create ((char const *) speaker_cursor_bits, speaker_cursor_width, speaker_cursor_height); RefPtr<Bitmap> mask = Bitmap::create ((char const *) speaker_cursor_mask_bits, speaker_cursor_width, speaker_cursor_height); - speaker = new Cursor (source, mask, ffg, fbg, speaker_cursor_x_hot, speaker_cursor_y_hot); + speaker = new Cursor (source, mask, ffg, fbg, speaker_cursor_width >> 1, speaker_cursor_height >> 1); } { |