--- /dev/null
+/*
+ Copyright (C) 2023 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/>.
+
+*/
+
+
+#define VIDEO_CONTENT_COLOUR (wxColour(242, 92, 120, 255))
+#define AUDIO_CONTENT_COLOUR (wxColour(149, 121, 232, 255))
+#define TEXT_CONTENT_COLOUR (wxColour(163, 255, 154, 255))
+#define ATMOS_CONTENT_COLOUR (wxColour(149, 121, 232, 255))
*/
+#include "colours.h"
#include "content_timeline_atmos_view.h"
wxColour
ContentTimelineAtmosView::background_colour() const
{
- return wxColour (149, 121, 232, 255);
+ return ATMOS_CONTENT_COLOUR;
}
*/
+#include "colours.h"
#include "content_timeline_audio_view.h"
#include "wx_util.h"
#include "lib/audio_content.h"
wxColour
ContentTimelineAudioView::background_colour () const
{
- return wxColour (149, 121, 232, 255);
+ return AUDIO_CONTENT_COLOUR;
}
wxColour
*/
+#include "colours.h"
#include "content_timeline_text_view.h"
#include "lib/text_content.h"
#include "lib/content.h"
return wxColour (210, 210, 210, 128);
}
- return wxColour (163, 255, 154, 255);
+ return TEXT_CONTENT_COLOUR;
}
wxColour
*/
+#include "colours.h"
+#include "content_timeline_video_view.h"
#include "lib/image_content.h"
#include "lib/video_content.h"
-#include "content_timeline_video_view.h"
using std::dynamic_pointer_cast;
return wxColour (210, 210, 210, 128);
}
- return wxColour (242, 92, 120, 255);
+ return VIDEO_CONTENT_COLOUR;
}
wxColour