mirror of
https://github.com/Ardour/ardour.git
synced 2025-12-08 07:45:00 +01:00
Remove unused code.
git-svn-id: svn://localhost/ardour2/branches/3.0@8986 d708f5d6-7413-0410-9779-e7cbd77b26cf
This commit is contained in:
parent
c75b17e3ba
commit
165a38e74e
2 changed files with 3 additions and 28 deletions
|
|
@ -20,7 +20,6 @@
|
||||||
#include "evoral/Note.hpp"
|
#include "evoral/Note.hpp"
|
||||||
#include "ardour_ui.h"
|
#include "ardour_ui.h"
|
||||||
#include "automation_time_axis.h"
|
#include "automation_time_axis.h"
|
||||||
#include "canvas-hit.h"
|
|
||||||
#include "canvas-note.h"
|
#include "canvas-note.h"
|
||||||
#include "ghostregion.h"
|
#include "ghostregion.h"
|
||||||
#include "midi_streamview.h"
|
#include "midi_streamview.h"
|
||||||
|
|
@ -187,12 +186,13 @@ MidiGhostRegion::MidiGhostRegion(MidiStreamView& msv, TimeAxisView& source_tv, d
|
||||||
|
|
||||||
MidiGhostRegion::~MidiGhostRegion()
|
MidiGhostRegion::~MidiGhostRegion()
|
||||||
{
|
{
|
||||||
//clear_events();
|
|
||||||
}
|
}
|
||||||
|
|
||||||
MidiGhostRegion::Event::Event(ArdourCanvas::CanvasNoteEvent* e)
|
MidiGhostRegion::Event::Event(ArdourCanvas::CanvasNoteEvent* e)
|
||||||
: event(e)
|
: event(e)
|
||||||
{
|
{
|
||||||
|
|
||||||
}
|
}
|
||||||
|
|
||||||
MidiGhostRegion::Note::Note(ArdourCanvas::CanvasNote* n, ArdourCanvas::Group* g)
|
MidiGhostRegion::Note::Note(ArdourCanvas::CanvasNote* n, ArdourCanvas::Group* g)
|
||||||
|
|
@ -203,17 +203,7 @@ MidiGhostRegion::Note::Note(ArdourCanvas::CanvasNote* n, ArdourCanvas::Group* g)
|
||||||
|
|
||||||
MidiGhostRegion::Note::~Note()
|
MidiGhostRegion::Note::~Note()
|
||||||
{
|
{
|
||||||
//delete rect;
|
|
||||||
}
|
|
||||||
|
|
||||||
MidiGhostRegion::Hit::Hit(ArdourCanvas::CanvasHit* h, ArdourCanvas::Group*)
|
|
||||||
: Event(h)
|
|
||||||
{
|
|
||||||
cerr << "Hit ghost item does not work yet" << endl;
|
|
||||||
}
|
|
||||||
|
|
||||||
MidiGhostRegion::Hit::~Hit()
|
|
||||||
{
|
|
||||||
}
|
}
|
||||||
|
|
||||||
void
|
void
|
||||||
|
|
@ -308,12 +298,6 @@ MidiGhostRegion::add_note(ArdourCanvas::CanvasNote* n)
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
void
|
|
||||||
MidiGhostRegion::add_hit(ArdourCanvas::CanvasHit* /*h*/)
|
|
||||||
{
|
|
||||||
//events.push_back(new Hit(h, group));
|
|
||||||
}
|
|
||||||
|
|
||||||
void
|
void
|
||||||
MidiGhostRegion::clear_events()
|
MidiGhostRegion::clear_events()
|
||||||
{
|
{
|
||||||
|
|
|
||||||
|
|
@ -91,14 +91,6 @@ public:
|
||||||
ArdourCanvas::SimpleRect* rect;
|
ArdourCanvas::SimpleRect* rect;
|
||||||
};
|
};
|
||||||
|
|
||||||
class Hit : public Event {
|
|
||||||
public:
|
|
||||||
Hit(ArdourCanvas::CanvasHit*, ArdourCanvas::Group*);
|
|
||||||
~Hit();
|
|
||||||
|
|
||||||
ArdourCanvas::Diamond* diamond;
|
|
||||||
};
|
|
||||||
|
|
||||||
MidiGhostRegion(TimeAxisView& tv, TimeAxisView& source_tv, double initial_unit_pos);
|
MidiGhostRegion(TimeAxisView& tv, TimeAxisView& source_tv, double initial_unit_pos);
|
||||||
MidiGhostRegion(MidiStreamView& msv, TimeAxisView& source_tv, double initial_unit_pos);
|
MidiGhostRegion(MidiStreamView& msv, TimeAxisView& source_tv, double initial_unit_pos);
|
||||||
~MidiGhostRegion();
|
~MidiGhostRegion();
|
||||||
|
|
@ -112,7 +104,6 @@ public:
|
||||||
void update_range();
|
void update_range();
|
||||||
|
|
||||||
void add_note(ArdourCanvas::CanvasNote*);
|
void add_note(ArdourCanvas::CanvasNote*);
|
||||||
void add_hit(ArdourCanvas::CanvasHit*);
|
|
||||||
void update_note (ArdourCanvas::CanvasNote *);
|
void update_note (ArdourCanvas::CanvasNote *);
|
||||||
|
|
||||||
void clear_events();
|
void clear_events();
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue