diff options
author | David Robillard <drobilla@leibniz.local> | 2014-12-20 01:11:28 -0500 |
---|---|---|
committer | David Robillard <drobilla@leibniz.local> | 2014-12-20 01:13:25 -0500 |
commit | 670938c8c455f2ded443d0ea222ed1cd07ecc528 (patch) | |
tree | 9c58aae398dafb1eb2d8b106a91130c27f88991f /gtk2_ardour/midi_region_view.h | |
parent | 5d8021bf44c066ad9b5ee4e8ab824267824be738 (diff) |
Fix various cursor problems.
Add a new scoped cursor system that makes it much harder to screw up and end up
with stick cursors and so on.
Diffstat (limited to 'gtk2_ardour/midi_region_view.h')
-rw-r--r-- | gtk2_ardour/midi_region_view.h | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/gtk2_ardour/midi_region_view.h b/gtk2_ardour/midi_region_view.h index d7c8c29058..2c81f51122 100644 --- a/gtk2_ardour/midi_region_view.h +++ b/gtk2_ardour/midi_region_view.h @@ -61,6 +61,7 @@ class EditNoteDialog; class NotePlayer; class PatchChange; class ItemCounts; +class CursorContext; class MidiRegionView : public RegionView { @@ -496,9 +497,8 @@ private: PBD::ScopedConnection _mouse_mode_connection; - Gdk::Cursor* pre_enter_cursor; - Gdk::Cursor* pre_press_cursor; - Gdk::Cursor* pre_note_enter_cursor; + boost::shared_ptr<CursorContext> _note_cursor_ctx; + boost::shared_ptr<CursorContext> _press_cursor_ctx; NotePlayer* _note_player; |