summaryrefslogtreecommitdiff
path: root/gtk2_ardour/editor_drag.h
diff options
context:
space:
mode:
authorPaul Davis <paul@linuxaudiosystems.com>2015-01-24 12:26:58 -0500
committerPaul Davis <paul@linuxaudiosystems.com>2015-01-24 12:26:58 -0500
commit22435bb53d31d15870985aef23630ad20b6973e9 (patch)
tree9e939770db2b1d87940bd911c8c8a360e2a4ca7a /gtk2_ardour/editor_drag.h
parentb4e32cd94b2bb37b3b61f465d9c90e6b2a208ab4 (diff)
make MouseCursors invalid cursor API be static; use to initialize default cursor value in Drag API; use C API to set canvas cursor
Diffstat (limited to 'gtk2_ardour/editor_drag.h')
-rw-r--r--gtk2_ardour/editor_drag.h5
1 files changed, 3 insertions, 2 deletions
diff --git a/gtk2_ardour/editor_drag.h b/gtk2_ardour/editor_drag.h
index aec672d92f..66ea64eb54 100644
--- a/gtk2_ardour/editor_drag.h
+++ b/gtk2_ardour/editor_drag.h
@@ -29,6 +29,7 @@
#include "cursor_context.h"
#include "editor_items.h"
+#include "mouse_cursors.h"
namespace ARDOUR {
class Location;
@@ -58,8 +59,8 @@ public:
void abort ();
void add (Drag *);
- void set (Drag *, GdkEvent *, Gdk::Cursor* c = 0);
- void start_grab (GdkEvent *, Gdk::Cursor* c = 0);
+ void set (Drag *, GdkEvent *, Gdk::Cursor* c = MouseCursors::invalid_cursor());
+ void start_grab (GdkEvent *, Gdk::Cursor* c = MouseCursors::invalid_cursor());
bool end_grab (GdkEvent *);
bool have_item (ArdourCanvas::Item *) const;