David Robillard
d357eca668
Anything related to the storage of events/values over a range of time lives in evoral. This includes MidiModel (Evoral::Sequence) and automation data (AutomationList (Evoral::ControlList), Automatable (Evoral::ControlSet), etc). libs/evoral synced with http://svn.drobilla.net/lad/trunk/evoral r1511. git-svn-id: svn://localhost/ardour2/branches/3.0@3754 d708f5d6-7413-0410-9779-e7cbd77b26cf
42 lines
1018 B
C++
42 lines
1018 B
C++
#ifndef CANVASPROGRAMCHANGE_H_
|
|
#define CANVASPROGRAMCHANGE_H_
|
|
|
|
#include <libgnomecanvasmm/group.h>
|
|
#include "simplerect.h"
|
|
#include "simpleline.h"
|
|
#include <libgnomecanvasmm/text.h>
|
|
#include <libgnomecanvasmm/widget.h>
|
|
#include <ardour/midi_model.h>
|
|
|
|
class MidiRegionView;
|
|
|
|
namespace Gnome {
|
|
namespace Canvas {
|
|
|
|
class CanvasProgramChange : public Group
|
|
{
|
|
public:
|
|
CanvasProgramChange(
|
|
MidiRegionView& region,
|
|
Group& parent,
|
|
boost::shared_ptr<Evoral::Event> event,
|
|
double height,
|
|
double x = 0.0,
|
|
double y = 0.0
|
|
);
|
|
|
|
virtual ~CanvasProgramChange();
|
|
|
|
private:
|
|
MidiRegionView& _region;
|
|
boost::shared_ptr<Evoral::Event> _event;
|
|
Text* _text;
|
|
SimpleLine* _line;
|
|
SimpleRect* _rect;
|
|
};
|
|
|
|
} // namespace Canvas
|
|
} // namespace Gnome
|
|
|
|
#endif /*CANVASPROGRAMCHANGE_H_*/
|