From 54c71c3d6149fa6bc9da55ed0997ca891fc5b64f Mon Sep 17 00:00:00 2001 From: Paul Davis Date: Mon, 6 Dec 2021 14:53:04 -0700 Subject: [PATCH] skeleton/experiment for audio clip editor --- gtk2_ardour/audio_clip_editor.cc | 30 ++++++++++++++++++++++++++++++ gtk2_ardour/audio_clip_editor.h | 32 ++++++++++++++++++++++++++++++++ gtk2_ardour/wscript | 1 + 3 files changed, 63 insertions(+) create mode 100644 gtk2_ardour/audio_clip_editor.cc create mode 100644 gtk2_ardour/audio_clip_editor.h diff --git a/gtk2_ardour/audio_clip_editor.cc b/gtk2_ardour/audio_clip_editor.cc new file mode 100644 index 0000000000..cc3a73dfee --- /dev/null +++ b/gtk2_ardour/audio_clip_editor.cc @@ -0,0 +1,30 @@ +/* + * Copyright (C) 2021 Paul Davis + * + * This program is free software; you can redistribute it and/or modify + * it under the terms of the GNU General Public License as published by + * the Free Software Foundation; either version 2 of the License, or + * (at your option) any later version. + * + * This program is distributed in the hope that it will be useful, + * but WITHOUT ANY WARRANTY; without even the implied warranty of + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the + * GNU General Public License for more details. + * + * You should have received a copy of the GNU General Public License along + * with this program; if not, write to the Free Software Foundation, Inc., + * 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA. + */ + +#include "audio_clip_editor.h" + +#include "pbd/i18n.h" + +AudioClipEditor::AudioClipEditor () +{ + +} + +AudioClipEditor::~AudioClipEditor () +{ +} diff --git a/gtk2_ardour/audio_clip_editor.h b/gtk2_ardour/audio_clip_editor.h new file mode 100644 index 0000000000..83e700f764 --- /dev/null +++ b/gtk2_ardour/audio_clip_editor.h @@ -0,0 +1,32 @@ +/* + * Copyright (C) 2021 Paul Davis + * + * This program is free software; you can redistribute it and/or modify + * it under the terms of the GNU General Public License as published by + * the Free Software Foundation; either version 2 of the License, or + * (at your option) any later version. + * + * This program is distributed in the hope that it will be useful, + * but WITHOUT ANY WARRANTY; without even the implied warranty of + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the + * GNU General Public License for more details. + * + * You should have received a copy of the GNU General Public License along + * with this program; if not, write to the Free Software Foundation, Inc., + * 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA. + */ + +#ifndef __gtk2_ardour_audio_clip_editor_h__ +#define __gtk2_ardour_audio_clip_editor_h__ + +#include "canvas/canvas.h" + +class AudioClipEditor : public ArdourCanvas::GtkCanvas +{ + public: + AudioClipEditor (); + ~AudioClipEditor (); +}; + + +#endif /* __gtk2_ardour_audio_clip_editor_h__ */ diff --git a/gtk2_ardour/wscript b/gtk2_ardour/wscript index 5bc4d41c6a..df8e868628 100644 --- a/gtk2_ardour/wscript +++ b/gtk2_ardour/wscript @@ -49,6 +49,7 @@ gtk2_ardour_sources = [ 'ardour_ui_startup.cc', 'ardour_ui_video.cc', 'ardour_window.cc', + 'audio_clip_editor.cc', 'audio_clock.cc', 'audio_region_editor.cc', 'audio_region_view.cc',