projects
/
ardour.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
Remove internal edit mode and add "content" tool.
[ardour.git]
/
gtk2_ardour
/
hit.cc
diff --git
a/gtk2_ardour/hit.cc
b/gtk2_ardour/hit.cc
index 69dd8d5bc8be0397cf87b4e1abbc12bcd0ad0381..c7bfcb617f13f78e6d0bc4cb4c776e476b35eb5d 100644
(file)
--- a/
gtk2_ardour/hit.cc
+++ b/
gtk2_ardour/hit.cc
@@
-22,18
+22,15
@@
#include "canvas/polygon.h"
#include "canvas/debug.h"
#include "canvas/polygon.h"
#include "canvas/debug.h"
-#include "midi_region_view.h"
-#include "public_editor.h"
-#include "utils.h"
#include "hit.h"
using namespace ARDOUR;
using namespace ArdourCanvas;
#include "hit.h"
using namespace ARDOUR;
using namespace ArdourCanvas;
-Hit::Hit (MidiRegionView& region,
Group* group
, double size, const boost::shared_ptr<NoteType> note, bool with_events)
+Hit::Hit (MidiRegionView& region,
Item* parent
, double size, const boost::shared_ptr<NoteType> note, bool with_events)
: NoteBase (region, with_events, note)
{
: NoteBase (region, with_events, note)
{
- _polygon = new ArdourCanvas::Polygon (
group
);
+ _polygon = new ArdourCanvas::Polygon (
parent
);
CANVAS_DEBUG_NAME (_polygon, "note");
set_item (_polygon);
set_height (size);
CANVAS_DEBUG_NAME (_polygon, "note");
set_item (_polygon);
set_height (size);