TracktionEngine
|
#include <tracktion_CurveEditor.h>
Public Member Functions | |
CurveEditorPoint () noexcept | |
CurveEditorPoint (int i, CurveEditor *ed) | |
~CurveEditorPoint () override | |
void | selectionStatusChanged (bool isNowSelected) override |
Can be overridden to tell this object that it has just been selected or deselected. | |
![]() | |
Selectable () | |
virtual | ~Selectable () |
virtual juce::String | getSelectableDescription ()=0 |
Subclasses must return a description of what they are. | |
virtual void | changed () |
This should be called to send a change notification to any SelectableListeners that are registered with this object. | |
virtual void | selectableAboutToBeDeleted () |
Called just before the selectable is about to be deleted so any subclasses should still be valid at this point. | |
void | addListener (SelectableListener *) |
void | removeListener (SelectableListener *) |
void | addSelectableListener (SelectableListener *) |
void | removeSelectableListener (SelectableListener *) |
void | cancelAnyPendingUpdates () |
If changed() has been called, this will cancel any pending async change notificaions. | |
void | deselect () |
void | propertiesChanged () |
void | notifyListenersOfDeletion () |
WeakRef | getWeakRef () |
Static Public Member Functions | |
static bool | arePointsConsecutive (const SelectableList &) |
static bool | arePointsOnSameCurve (const SelectableList &) |
static TimeRange | getPointTimeRange (const SelectableList &) |
![]() | |
static void | initialise () |
static bool | isSelectableValid (const Selectable *) noexcept |
checks whether this object has been deleted. | |
Public Attributes | |
int | index = 0 |
juce::Component::SafePointer< CurveEditor > | editor |
![]() | |
WeakRef::Master | masterReference |
Additional Inherited Members | |
![]() | |
using | WeakRef = juce::WeakReference< Selectable > |
|
noexcept |
tracktion::engine::CurveEditorPoint::CurveEditorPoint | ( | int | i, |
CurveEditor * | ed | ||
) |
|
override |
|
overridevirtual |
Can be overridden to tell this object that it has just been selected or deselected.
Reimplemented from tracktion::engine::Selectable.
|
static |
|
static |
|
static |
int tracktion::engine::CurveEditorPoint::index = 0 |
juce::Component::SafePointer<CurveEditor> tracktion::engine::CurveEditorPoint::editor |