2c017baa4a
git-svn-id: svn://localhost/ardour2/branches/3.0@4310 d708f5d6-7413-0410-9779-e7cbd77b26cf
32 lines
717 B
C++
32 lines
717 B
C++
#include "canvas-program-change.h"
|
|
#include <iostream>
|
|
#include "ardour_ui.h"
|
|
|
|
using namespace Gnome::Canvas;
|
|
using namespace std;
|
|
|
|
CanvasProgramChange::CanvasProgramChange(
|
|
MidiRegionView& region,
|
|
Group& parent,
|
|
string& text,
|
|
double height,
|
|
double x,
|
|
double y)
|
|
: CanvasFlag(
|
|
region,
|
|
parent,
|
|
height,
|
|
ARDOUR_UI::config()->canvasvar_MidiProgramChangeOutline.get(),
|
|
ARDOUR_UI::config()->canvasvar_MidiProgramChangeFill.get(),
|
|
x,
|
|
y
|
|
)
|
|
{
|
|
set_text(text);
|
|
}
|
|
|
|
CanvasProgramChange::~CanvasProgramChange()
|
|
{
|
|
}
|
|
|