#ifndef CANVASPROGRAMCHANGE_H_ #define CANVASPROGRAMCHANGE_H_ #include #include "simplerect.h" #include "simpleline.h" #include #include #include class MidiRegionView; namespace Gnome { namespace Canvas { class CanvasProgramChange : public Group { public: CanvasProgramChange( MidiRegionView& region, Group& parent, boost::shared_ptr event, double height, double x = 0.0, double y = 0.0 ); virtual ~CanvasProgramChange(); private: MidiRegionView& _region; boost::shared_ptr _event; Text* _text; SimpleLine* _line; SimpleRect* _rect; Widget* _widget; }; } // namespace Canvas } // namespace Gnome #endif /*CANVASPROGRAMCHANGE_H_*/