mirror of
https://github.com/Ardour/ardour.git
synced 2025-12-07 07:14:56 +01:00
* added myself to about.cc
* created ArdourCanvas::CanvasFlag as a base class for flags * removed obsolete cruft from midi_model * made MidiTimeAxisView and MidiRegionView work together to display program changes as names by means of MidiPatchManager git-svn-id: svn://localhost/ardour2/branches/3.0@4307 d708f5d6-7413-0410-9779-e7cbd77b26cf
This commit is contained in:
parent
dfed4965b7
commit
e009016b03
12 changed files with 272 additions and 96 deletions
|
|
@ -1,25 +1,20 @@
|
|||
#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>
|
||||
#include "canvas-flag.h"
|
||||
|
||||
class MidiRegionView;
|
||||
|
||||
namespace Gnome {
|
||||
namespace Canvas {
|
||||
|
||||
class CanvasProgramChange : public Group
|
||||
class CanvasProgramChange : public CanvasFlag
|
||||
{
|
||||
public:
|
||||
CanvasProgramChange(
|
||||
MidiRegionView& region,
|
||||
Group& parent,
|
||||
boost::shared_ptr<Evoral::Event> event,
|
||||
string text,
|
||||
double height,
|
||||
double x = 0.0,
|
||||
double y = 0.0
|
||||
|
|
@ -28,11 +23,6 @@ public:
|
|||
virtual ~CanvasProgramChange();
|
||||
|
||||
private:
|
||||
MidiRegionView& _region;
|
||||
boost::shared_ptr<Evoral::Event> _event;
|
||||
Text* _text;
|
||||
SimpleLine* _line;
|
||||
SimpleRect* _rect;
|
||||
};
|
||||
|
||||
} // namespace Canvas
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue