diff options
author | Hans Baier <hansfbaier@googlemail.com> | 2009-02-13 08:29:12 +0000 |
---|---|---|
committer | Hans Baier <hansfbaier@googlemail.com> | 2009-02-13 08:29:12 +0000 |
commit | f93ca1349ce3d56ecd9b90c1b6e88971d46d9952 (patch) | |
tree | 777a2eb2217b551a640f6f57ed1a4ae506861baa /gtk2_ardour/canvas-sysex.h | |
parent | 0800b59f6179850b73bd9af0e09659c63e2ad0a5 (diff) |
* Added CanvasSysEx class for displaying SysExes
git-svn-id: svn://localhost/ardour2/branches/3.0@4544 d708f5d6-7413-0410-9779-e7cbd77b26cf
Diffstat (limited to 'gtk2_ardour/canvas-sysex.h')
-rw-r--r-- | gtk2_ardour/canvas-sysex.h | 37 |
1 files changed, 37 insertions, 0 deletions
diff --git a/gtk2_ardour/canvas-sysex.h b/gtk2_ardour/canvas-sysex.h new file mode 100644 index 0000000000..8461a04c3c --- /dev/null +++ b/gtk2_ardour/canvas-sysex.h @@ -0,0 +1,37 @@ +#ifndef CANVAS_SYSEX_H_ +#define CANVAS_SYSEX_H_ + +#include "canvas-flag.h" +#include <evoral/MIDIEvent.hpp> + +class MidiRegionView; + +namespace Gnome { +namespace Canvas { + +template<typename Time> +class CanvasSysEx : public CanvasFlag +{ +public: + CanvasSysEx( + MidiRegionView& region, + Group& parent, + string& text, + double height, + double x, + double y, + boost::shared_ptr<Evoral::MIDIEvent<Time> > event + ); + + virtual ~CanvasSysEx(); + + virtual bool on_event(GdkEvent* ev); + + +private: +}; + +} // namespace Canvas +} // namespace Gnome + +#endif /*CANVAS_SYSEX_H_*/ |