2008-04-29 03:28:24 -04:00
|
|
|
#ifndef CANVASPROGRAMCHANGE_H_
|
|
|
|
#define CANVASPROGRAMCHANGE_H_
|
|
|
|
|
2008-12-11 03:06:27 -05:00
|
|
|
#include "canvas-flag.h"
|
2008-04-29 03:28:24 -04:00
|
|
|
|
2008-04-29 17:58:05 -04:00
|
|
|
class MidiRegionView;
|
|
|
|
|
|
|
|
namespace Gnome {
|
|
|
|
namespace Canvas {
|
2008-04-29 03:28:24 -04:00
|
|
|
|
2008-12-11 03:06:27 -05:00
|
|
|
class CanvasProgramChange : public CanvasFlag
|
2008-04-29 03:28:24 -04:00
|
|
|
{
|
|
|
|
public:
|
|
|
|
CanvasProgramChange(
|
|
|
|
MidiRegionView& region,
|
|
|
|
Group& parent,
|
2008-12-11 03:06:27 -05:00
|
|
|
string text,
|
2008-04-29 03:28:24 -04:00
|
|
|
double height,
|
|
|
|
double x = 0.0,
|
|
|
|
double y = 0.0
|
|
|
|
);
|
|
|
|
|
|
|
|
virtual ~CanvasProgramChange();
|
|
|
|
|
|
|
|
private:
|
|
|
|
};
|
|
|
|
|
|
|
|
} // namespace Canvas
|
|
|
|
} // namespace Gnome
|
|
|
|
|
|
|
|
#endif /*CANVASPROGRAMCHANGE_H_*/
|