tracktion-engine 3.0-10-g034fdde4aa5
Tracktion Engine — High level data model for audio applications

« « « Anklang Documentation
Loading...
Searching...
No Matches
tracktion_ArrangerClip.h
Go to the documentation of this file.
1 /*
2 ,--. ,--. ,--. ,--.
3 ,-' '-.,--.--.,--,--.,---.| |,-.,-' '-.`--' ,---. ,--,--, Copyright 2024
4 '-. .-'| .--' ,-. | .--'| /'-. .-',--.| .-. || \ Tracktion Software
5 | | | | \ '-' \ `--.| \ \ | | | |' '-' '| || | Corporation
6 `---' `--' `--`--'`---'`--'`--' `---' `--' `---' `--''--' www.tracktion.com
7
8 Tracktion Engine uses a GPL/commercial licence - see LICENCE.md for details.
9*/
10
11namespace tracktion { inline namespace engine
12{
13
14//==============================================================================
17class ArrangerClip : public Clip
18{
19public:
20 ArrangerClip (const juce::ValueTree&, EditItemID, ClipOwner& targetParent);
21 ~ArrangerClip() override;
22
24
26 bool canBeAddedTo (ClipOwner&) override;
27 juce::Colour getDefaultColour() const override;
28 void initialise() override;
29
30 bool isMidi() const override { return false; }
31 bool isMuted() const override { return false; }
32
33protected:
34 void valueTreePropertyChanged (juce::ValueTree&, const juce::Identifier&) override;
35
37};
38
39}} // namespace tracktion { inline namespace engine
void initialise() override
Initialises the Clip.
bool canBeAddedTo(ClipOwner &) override
Tests whether this clip can go on the given parent.
juce::Colour getDefaultColour() const override
Returns the default colour for this clip.
bool isMidi() const override
Returns true if this is a MidiClip.
juce::String getSelectableDescription() override
Subclasses must return a description of what they are.
bool isMuted() const override
Returns true if the clip is muted.
Base class for items that can contain clips.
A clip in an edit.
#define JUCE_DECLARE_NON_COPYABLE_WITH_LEAK_DETECTOR(className)
ID for objects of type EditElement - e.g.