mirror of
https://github.com/Ardour/ardour.git
synced 2025-12-15 19:16:40 +01:00
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.
This commit is contained in:
parent
5d8021bf44
commit
670938c8c4
13 changed files with 254 additions and 149 deletions
|
|
@ -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;
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue