summaryrefslogtreecommitdiff
path: root/src/wx/content_timeline_audio_view.h
diff options
context:
space:
mode:
authorCarl Hetherington <cth@carlh.net>2023-12-15 00:40:41 +0100
committerCarl Hetherington <cth@carlh.net>2024-03-12 00:43:51 +0100
commit306c28facff88f38dd03831062dedd5a865578fe (patch)
tree3c7a3da38821fda15fae667a9b8156f09fce244a /src/wx/content_timeline_audio_view.h
parente5b053031e94a273ed889cd9e309d7d41c33a70d (diff)
Rename TimelineAudioContentView -> ContentTimelineAudioView.
Diffstat (limited to 'src/wx/content_timeline_audio_view.h')
-rw-r--r--src/wx/content_timeline_audio_view.h40
1 files changed, 40 insertions, 0 deletions
diff --git a/src/wx/content_timeline_audio_view.h b/src/wx/content_timeline_audio_view.h
new file mode 100644
index 000000000..719c2536d
--- /dev/null
+++ b/src/wx/content_timeline_audio_view.h
@@ -0,0 +1,40 @@
+/*
+ Copyright (C) 2013-2015 Carl Hetherington <cth@carlh.net>
+
+ This file is part of DCP-o-matic.
+
+ DCP-o-matic 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.
+
+ DCP-o-matic 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 DCP-o-matic. If not, see <http://www.gnu.org/licenses/>.
+
+*/
+
+
+#include "timeline_content_view.h"
+
+
+/** @class ContentTimelineAudioView
+ * @brief Content timeline view for AudioContent.
+ */
+class ContentTimelineAudioView : public TimelineContentView
+{
+public:
+ ContentTimelineAudioView(ContentTimeline& tl, std::shared_ptr<Content> c);
+
+private:
+ bool active () const override {
+ return true;
+ }
+ wxColour background_colour () const override;
+ wxColour foreground_colour () const override;
+ wxString label () const override;
+};