X-Git-Url: https://main.carlh.net/gitweb/?a=blobdiff_plain;f=src%2Fwx%2Ftimeline_audio_content_view.h;h=bede1dcdaf00e5938f63c852b142b12819f195bb;hb=edfb627f1226814ac804473b54d781ffd6db2700;hp=23c5c6d8572a3ef1a02065c5959ca47af4b3274d;hpb=688fa9d705a6b23f216f380ac701c6a60e934f70;p=dcpomatic.git diff --git a/src/wx/timeline_audio_content_view.h b/src/wx/timeline_audio_content_view.h index 23c5c6d85..bede1dcda 100644 --- a/src/wx/timeline_audio_content_view.h +++ b/src/wx/timeline_audio_content_view.h @@ -1,19 +1,20 @@ /* Copyright (C) 2013-2015 Carl Hetherington - This program is free software; you can redistribute it and/or modify + 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. - This program is distributed in the hope that it will be useful, + 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 this program; if not, write to the Free Software - Foundation, Inc., 675 Mass Ave, Cambridge, MA 02139, USA. + along with DCP-o-matic. If not, see . */ @@ -26,9 +27,12 @@ class TimelineAudioContentView : public TimelineContentView { public: TimelineAudioContentView (Timeline& tl, boost::shared_ptr c); - + private: - wxString type () const; + bool active () const { + return true; + } wxColour background_colour () const; wxColour foreground_colour () const; + wxString label () const; };