mirror of
https://github.com/Ardour/ardour.git
synced 2025-12-24 07:27:44 +01:00
give drop zone its own cursor-ability
This commit is contained in:
parent
a8660f422f
commit
1a90d28aed
3 changed files with 9 additions and 1 deletions
|
|
@ -1325,6 +1325,7 @@ Editor::choose_canvas_cursor_on_entry (GdkEventCrossing* /*event*/, ItemType typ
|
|||
case CdMarkerBarItem:
|
||||
case VideoBarItem:
|
||||
case TransportMarkerBarItem:
|
||||
case DropZoneItem:
|
||||
cursor = which_grabber_cursor();
|
||||
break;
|
||||
|
||||
|
|
|
|||
|
|
@ -1126,6 +1126,12 @@ Editor::canvas_drop_zone_event (GdkEvent* event)
|
|||
return canvas_scroll_event (&scroll, true);
|
||||
break;
|
||||
|
||||
case GDK_ENTER_NOTIFY:
|
||||
return typed_event (_canvas_drop_zone, event, DropZoneItem);
|
||||
|
||||
case GDK_LEAVE_NOTIFY:
|
||||
return typed_event (_canvas_drop_zone, event, DropZoneItem);
|
||||
|
||||
default:
|
||||
break;
|
||||
}
|
||||
|
|
|
|||
|
|
@ -61,7 +61,8 @@ enum ItemType {
|
|||
MinsecRulerItem,
|
||||
BBTRulerItem,
|
||||
SamplesRulerItem,
|
||||
|
||||
DropZoneItem,
|
||||
|
||||
/* don't remove this */
|
||||
|
||||
NoItem
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue