TracktionEngine
Loading...
Searching...
No Matches
engine::CurveEditorPoint Class Reference

#include <tracktion_CurveEditor.h>

Inheritance diagram for engine::CurveEditorPoint:

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.
Public Member Functions inherited from engine::Selectable
 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 EditTimeRange getPointEditPositionRange (const SelectableList &)
Static Public Member Functions inherited from engine::Selectable
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
Public Attributes inherited from engine::Selectable
WeakRef::Master masterReference

Additional Inherited Members

Public Types inherited from engine::Selectable
using WeakRef = juce::WeakReference<Selectable>

Constructor & Destructor Documentation

◆ CurveEditorPoint() [1/2]

engine::CurveEditorPoint::CurveEditorPoint ( )
noexcept

◆ CurveEditorPoint() [2/2]

engine::CurveEditorPoint::CurveEditorPoint ( int i,
CurveEditor * ed )

References editor, and index.

◆ ~CurveEditorPoint()

engine::CurveEditorPoint::~CurveEditorPoint ( )
override

Member Function Documentation

◆ selectionStatusChanged()

void engine::CurveEditorPoint::selectionStatusChanged ( bool isNowSelected)
overridevirtual

Can be overridden to tell this object that it has just been selected or deselected.

Reimplemented from engine::Selectable.

◆ arePointsConsecutive()

bool engine::CurveEditorPoint::arePointsConsecutive ( const SelectableList & )
static

◆ arePointsOnSameCurve()

bool engine::CurveEditorPoint::arePointsOnSameCurve ( const SelectableList & )
static

◆ getPointEditPositionRange()

EditTimeRange engine::CurveEditorPoint::getPointEditPositionRange ( const SelectableList & )
static

Member Data Documentation

◆ index

int engine::CurveEditorPoint::index = 0

Referenced by CurveEditorPoint().

◆ editor

juce::Component::SafePointer<CurveEditor> engine::CurveEditorPoint::editor

Referenced by CurveEditorPoint().


The documentation for this class was generated from the following file: