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

« « « Anklang Documentation
Loading...
Searching...
No Matches
Public Member Functions | Protected Member Functions | Protected Attributes | Static Protected Attributes | List of all members
tracktion::engine::CurveEditor Class Referenceabstract
Inheritance diagram for tracktion::engine::CurveEditor:
juce::Component tracktion::engine::SelectableListener juce::ChangeListener juce::TooltipClient tracktion::engine::MouseHoverDetector tracktion::engine::TransparentToMouseInTrackItemComp juce::MouseListener

Public Member Functions

 CurveEditor (Edit &, SelectionManager &)
 
void paint (juce::Graphics &) override
 
bool hitTest (int x, int y) override
 
void visibilityChanged () override
 
void mouseDown (const juce::MouseEvent &) override
 
void mouseUp (const juce::MouseEvent &) override
 
void mouseDrag (const juce::MouseEvent &) override
 
void mouseMove (const juce::MouseEvent &) override
 
void mouseEnter (const juce::MouseEvent &) override
 
void mouseExit (const juce::MouseEvent &) override
 
void mouseDoubleClick (const juce::MouseEvent &) override
 
void mouseHovered (int mouseX, int mouseY) override
 
void mouseMovedAfterHover () override
 
juce::MouseCursor getMouseCursor () override
 
void setTimes (TimePosition leftTime, TimePosition rightTime)
 
float timeToX (TimePosition) const
 
TimePosition xToTime (double x) const
 
float valueToY (float val) const
 
float yToValue (double y) const
 
juce::Point< floatgetPosition (CurvePoint) const
 
juce::Point< floatgetPosition (int index)
 
void selectableObjectChanged (Selectable *) override
 
void selectableObjectAboutToBeDeleted (Selectable *) override
 
void changeListenerCallback (juce::ChangeBroadcaster *) override
 
void updateLineThickness ()
 
EditgetEdit () const
 
virtual TrackgetTrack ()
 
virtual TimePosition snapTime (TimePosition, juce::ModifierKeys)
 
virtual float getValueAt (TimePosition)=0
 
virtual TimePosition getPointTime (int idx)=0
 
virtual float getPointValue (int idx)=0
 
virtual float getPointCurve (int idx)=0
 
virtual void removePoint (int index)=0
 
virtual int addPoint (TimePosition time, float value, float curve)=0
 
virtual int getNumPoints ()=0
 
virtual CurvePoint getBezierHandle (int idx)=0
 
virtual CurvePoint getBezierPoint (int idx)=0
 
virtual int nextIndexAfter (TimePosition)=0
 
virtual void getBezierEnds (int index, double &x1out, float &y1out, double &x2out, float &y2out)=0
 
virtual int movePoint (int index, TimePosition newTime, float newValue, bool removeInterveningPoints)=0
 
virtual void setValueWhenNoPoints (float value)=0
 
virtual CurveEditorPointcreatePoint (int idx)=0
 
virtual int curvePoint (int index, float newCurve)=0
 
virtual juce::String getCurveName ()=0
 
virtual int getCurveNameOffset ()=0
 
virtual SelectablegetItem ()=0
 
virtual bool isShowingCurve () const =0
 
virtual void updateFromTrack ()=0
 
virtual juce::Colour getCurrentLineColour ()=0
 
virtual juce::Colour getCurrentFillColour ()
 
virtual juce::Colour getDefaultLineColour () const =0
 
virtual juce::Colour getSelectedLineColour () const =0
 
virtual juce::Colour getBackgroundColour () const =0
 
virtual juce::Colour getCurveNameTextBackgroundColour () const =0
 
virtual juce::Colour getPointOutlineColour () const =0
 
void selectPoint (int pointIdx, bool addToSelection)
 
- Public Member Functions inherited from juce::Component
 Component (const String &componentName) noexcept
 
String getName () const noexcept
 
virtual void setName (const String &newName)
 
String getComponentID () const noexcept
 
void setComponentID (const String &newID)
 
virtual void setVisible (bool shouldBeVisible)
 
bool isVisible () const noexcept
 
bool isShowing () const
 
virtual void addToDesktop (int windowStyleFlags, void *nativeWindowToAttachTo=nullptr)
 
void removeFromDesktop ()
 
bool isOnDesktop () const noexcept
 
ComponentPeergetPeer () const
 
virtual void userTriedToCloseWindow ()
 
virtual void minimisationStateChanged (bool isNowMinimised)
 
virtual float getDesktopScaleFactor () const
 
void toFront (bool shouldAlsoGainKeyboardFocus)
 
void toBack ()
 
void toBehind (Component *other)
 
void setAlwaysOnTop (bool shouldStayOnTop)
 
bool isAlwaysOnTop () const noexcept
 
int getX () const noexcept
 
int getY () const noexcept
 
int getWidth () const noexcept
 
int getHeight () const noexcept
 
int getRight () const noexcept
 
Point< intgetPosition () const noexcept
 
int getBottom () const noexcept
 
Rectangle< intgetBounds () const noexcept
 
Rectangle< intgetLocalBounds () const noexcept
 
Rectangle< intgetBoundsInParent () const noexcept
 
int getScreenX () const
 
int getScreenY () const
 
Point< intgetScreenPosition () const
 
Rectangle< intgetScreenBounds () const
 
Point< intgetLocalPoint (const Component *sourceComponent, Point< int > pointRelativeToSourceComponent) const
 
Point< floatgetLocalPoint (const Component *sourceComponent, Point< float > pointRelativeToSourceComponent) const
 
Rectangle< intgetLocalArea (const Component *sourceComponent, Rectangle< int > areaRelativeToSourceComponent) const
 
Rectangle< floatgetLocalArea (const Component *sourceComponent, Rectangle< float > areaRelativeToSourceComponent) const
 
Point< intlocalPointToGlobal (Point< int > localPoint) const
 
Point< floatlocalPointToGlobal (Point< float > localPoint) const
 
Rectangle< intlocalAreaToGlobal (Rectangle< int > localArea) const
 
Rectangle< floatlocalAreaToGlobal (Rectangle< float > localArea) const
 
void setTopLeftPosition (int x, int y)
 
void setTopLeftPosition (Point< int > newTopLeftPosition)
 
void setTopRightPosition (int x, int y)
 
void setSize (int newWidth, int newHeight)
 
void setBounds (int x, int y, int width, int height)
 
void setBounds (Rectangle< int > newBounds)
 
void setBoundsRelative (float proportionalX, float proportionalY, float proportionalWidth, float proportionalHeight)
 
void setBoundsRelative (Rectangle< float > proportionalArea)
 
void setBoundsInset (BorderSize< int > borders)
 
void setBoundsToFit (Rectangle< int > targetArea, Justification justification, bool onlyReduceInSize)
 
void setCentrePosition (int x, int y)
 
void setCentrePosition (Point< int > newCentrePosition)
 
void setCentreRelative (float x, float y)
 
void centreWithSize (int width, int height)
 
void setTransform (const AffineTransform &transform)
 
AffineTransform getTransform () const
 
bool isTransformed () const noexcept
 
int proportionOfWidth (float proportion) const noexcept
 
int proportionOfHeight (float proportion) const noexcept
 
int getParentWidth () const noexcept
 
int getParentHeight () const noexcept
 
Rectangle< intgetParentMonitorArea () const
 
int getNumChildComponents () const noexcept
 
ComponentgetChildComponent (int index) const noexcept
 
int getIndexOfChildComponent (const Component *child) const noexcept
 
const Array< Component * > & getChildren () const noexcept
 
ComponentfindChildWithID (StringRef componentID) const noexcept
 
void addChildComponent (Component *child, int zOrder=-1)
 
void addChildComponent (Component &child, int zOrder=-1)
 
void addAndMakeVisible (Component *child, int zOrder=-1)
 
void addAndMakeVisible (Component &child, int zOrder=-1)
 
void addChildAndSetID (Component *child, const String &componentID)
 
void removeChildComponent (Component *childToRemove)
 
ComponentremoveChildComponent (int childIndexToRemove)
 
void removeAllChildren ()
 
void deleteAllChildren ()
 
ComponentgetParentComponent () const noexcept
 
TargetClass * findParentComponentOfClass () const
 
ComponentgetTopLevelComponent () const noexcept
 
bool isParentOf (const Component *possibleChild) const noexcept
 
virtual void parentHierarchyChanged ()
 
virtual void childrenChanged ()
 
void setInterceptsMouseClicks (bool allowClicksOnThisComponent, bool allowClicksOnChildComponents) noexcept
 
void getInterceptsMouseClicks (bool &allowsClicksOnThisComponent, bool &allowsClicksOnChildComponents) const noexcept
 
bool contains (Point< int > localPoint)
 
bool contains (Point< float > localPoint)
 
bool reallyContains (Point< int > localPoint, bool returnTrueIfWithinAChild)
 
bool reallyContains (Point< float > localPoint, bool returnTrueIfWithinAChild)
 
ComponentgetComponentAt (int x, int y)
 
ComponentgetComponentAt (Point< int > position)
 
ComponentgetComponentAt (Point< float > position)
 
void repaint ()
 
void repaint (int x, int y, int width, int height)
 
void repaint (Rectangle< int > area)
 
void setBufferedToImage (bool shouldBeBuffered)
 
Image createComponentSnapshot (Rectangle< int > areaToGrab, bool clipImageToComponentBounds=true, float scaleFactor=1.0f)
 
void paintEntireComponent (Graphics &context, bool ignoreAlphaLevel)
 
void setPaintingIsUnclipped (bool shouldPaintWithoutClipping) noexcept
 
bool isPaintingUnclipped () const noexcept
 
void setComponentEffect (ImageEffectFilter *newEffect)
 
ImageEffectFiltergetComponentEffect () const noexcept
 
LookAndFeelgetLookAndFeel () const noexcept
 
void setLookAndFeel (LookAndFeel *newLookAndFeel)
 
virtual void lookAndFeelChanged ()
 
void sendLookAndFeelChange ()
 
void setOpaque (bool shouldBeOpaque)
 
bool isOpaque () const noexcept
 
void setBroughtToFrontOnMouseClick (bool shouldBeBroughtToFront) noexcept
 
bool isBroughtToFrontOnMouseClick () const noexcept
 
void setExplicitFocusOrder (int newFocusOrderIndex)
 
int getExplicitFocusOrder () const
 
void setFocusContainerType (FocusContainerType containerType) noexcept
 
bool isFocusContainer () const noexcept
 
bool isKeyboardFocusContainer () const noexcept
 
ComponentfindFocusContainer () const
 
ComponentfindKeyboardFocusContainer () const
 
void setWantsKeyboardFocus (bool wantsFocus) noexcept
 
bool getWantsKeyboardFocus () const noexcept
 
void setMouseClickGrabsKeyboardFocus (bool shouldGrabFocus)
 
bool getMouseClickGrabsKeyboardFocus () const noexcept
 
void grabKeyboardFocus ()
 
void giveAwayKeyboardFocus ()
 
bool hasKeyboardFocus (bool trueIfChildIsFocused) const
 
void moveKeyboardFocusToSibling (bool moveToNext)
 
virtual std::unique_ptr< ComponentTraversercreateFocusTraverser ()
 
virtual std::unique_ptr< ComponentTraversercreateKeyboardFocusTraverser ()
 
void setHasFocusOutline (bool hasFocusOutline) noexcept
 
bool hasFocusOutline () const noexcept
 
bool isEnabled () const noexcept
 
void setEnabled (bool shouldBeEnabled)
 
virtual void enablementChanged ()
 
float getAlpha () const noexcept
 
void setAlpha (float newAlpha)
 
virtual void alphaChanged ()
 
void setMouseCursor (const MouseCursor &cursorType)
 
void updateMouseCursor () const
 
virtual void paintOverChildren (Graphics &g)
 
void mouseWheelMove (const MouseEvent &event, const MouseWheelDetails &wheel) override
 
void mouseMagnify (const MouseEvent &event, float scaleFactor) override
 
void setRepaintsOnMouseActivity (bool shouldRepaint) noexcept
 
void addMouseListener (MouseListener *newListener, bool wantsEventsForAllNestedChildComponents)
 
void removeMouseListener (MouseListener *listenerToRemove)
 
void addKeyListener (KeyListener *newListener)
 
void removeKeyListener (KeyListener *listenerToRemove)
 
virtual bool keyPressed (const KeyPress &key)
 
virtual bool keyStateChanged (bool isKeyDown)
 
virtual void modifierKeysChanged (const ModifierKeys &modifiers)
 
virtual void focusGained (FocusChangeType cause)
 
virtual void focusGainedWithDirection (FocusChangeType cause, FocusChangeDirection direction)
 
virtual void focusLost (FocusChangeType cause)
 
virtual void focusOfChildComponentChanged (FocusChangeType cause)
 
bool isMouseOver (bool includeChildren=false) const
 
bool isMouseButtonDown (bool includeChildren=false) const
 
bool isMouseOverOrDragging (bool includeChildren=false) const
 
Point< intgetMouseXYRelative () const
 
virtual void resized ()
 
virtual void moved ()
 
virtual void childBoundsChanged (Component *child)
 
virtual void parentSizeChanged ()
 
virtual void broughtToFront ()
 
void addComponentListener (ComponentListener *newListener)
 
void removeComponentListener (ComponentListener *listenerToRemove)
 
void postCommandMessage (int commandId)
 
virtual void handleCommandMessage (int commandId)
 
void enterModalState (bool takeKeyboardFocus=true, ModalComponentManager::Callback *callback=nullptr, bool deleteWhenDismissed=false)
 
void exitModalState (int returnValue=0)
 
bool isCurrentlyModal (bool onlyConsiderForemostModalComponent=true) const noexcept
 
bool isCurrentlyBlockedByAnotherModalComponent () const
 
virtual bool canModalEventBeSentToComponent (const Component *targetComponent)
 
virtual void inputAttemptWhenModal ()
 
NamedValueSetgetProperties () noexcept
 
const NamedValueSetgetProperties () const noexcept
 
Colour findColour (int colourID, bool inheritFromParent=false) const
 
void setColour (int colourID, Colour newColour)
 
void removeColour (int colourID)
 
bool isColourSpecified (int colourID) const
 
void copyAllExplicitColoursTo (Component &target) const
 
virtual void colourChanged ()
 
void * getWindowHandle () const
 
Positioner * getPositioner () const noexcept
 
void setPositioner (Positioner *newPositioner)
 
void setCachedComponentImage (CachedComponentImage *newCachedImage)
 
CachedComponentImagegetCachedComponentImage () const noexcept
 
void setViewportIgnoreDragFlag (bool ignoreDrag) noexcept
 
bool getViewportIgnoreDragFlag () const noexcept
 
String getTitle () const noexcept
 
void setTitle (const String &newTitle)
 
String getDescription () const noexcept
 
void setDescription (const String &newDescription)
 
String getHelpText () const noexcept
 
void setHelpText (const String &newHelpText)
 
void setAccessible (bool shouldBeAccessible)
 
bool isAccessible () const noexcept
 
AccessibilityHandlergetAccessibilityHandler ()
 
void invalidateAccessibilityHandler ()
 
virtual std::unique_ptr< AccessibilityHandlercreateAccessibilityHandler ()
 
- Public Member Functions inherited from juce::TooltipClient
virtual String getTooltip ()=0
 
- Public Member Functions inherited from tracktion::engine::MouseHoverDetector
 MouseHoverDetector (int hoverTimeMillisecs_=400)
 
void setHoverTimeMillisecs (int newTimeInMillisecs)
 
void setHoverComponent (juce::Component *newSourceComponent, bool wantsEventsForAllNestedChildComponents)
 
void hoverTimerCallback ()
 
void checkJustHoveredCallback ()
 

Protected Member Functions

void updatePointUnderMouse (juce::Point< float >)
 
virtual void showBubbleForPointUnderMouse ()=0
 
virtual void hideBubble ()=0
 
virtual void nonRealTimeDragStart ()
 
virtual void nonRealTimeDragEnd ()
 
bool isPointSelected (int idx)
 
bool areAnyPointsSelected ()
 
CurveEditorPointgetSelectedPoint (int)
 

Protected Attributes

Editedit
 
juce::UndoManagerundoManager
 
SelectionManagerselectionManager
 
float parameterMinValue
 
float parameterRange
 
TimePosition leftTime
 
TimePosition rightTime
 
int firstIndexOnScreen
 
int pointUnderMouse
 
int pointBeingMoved
 
int curveUnderMouse
 
int lineUnderMouse
 
bool dragged
 
bool movingAllPoints
 
TimePosition mouseDownTime
 
float mouseDownValue
 
bool isCurveSelected
 
float mouseDownCurve
 
float point1
 
float point2
 
bool realTimeDrag
 
float defaultCurve
 
float lineThickness
 

Static Protected Attributes

static constexpr const float pointRadius
 

Additional Inherited Members

- Public Types inherited from juce::Component
enum  FocusContainerType
 
enum  FocusChangeType
 
enum  FocusChangeDirection
 
- Static Public Member Functions inherited from juce::Component
static float JUCE_CALLTYPE getApproximateScaleFactorForComponent (const Component *targetComponent)
 
static Component *JUCE_CALLTYPE getCurrentlyFocusedComponent () noexcept
 
static void JUCE_CALLTYPE unfocusAllComponents ()
 
static void JUCE_CALLTYPE beginDragAutoRepeat (int millisecondsBetweenCallbacks)
 
static bool JUCE_CALLTYPE isMouseButtonDownAnywhere () noexcept
 
static int JUCE_CALLTYPE getNumCurrentlyModalComponents () noexcept
 
static Component *JUCE_CALLTYPE getCurrentlyModalComponent (int index=0) noexcept
 
- Public Attributes inherited from juce::Component
 focusChangedByMouseClick
 
 focusChangedByTabKey
 
 focusChangedDirectly
 

Detailed Description

Definition at line 51 of file tracktion_CurveEditor.h.

Constructor & Destructor Documentation

◆ CurveEditor()

tracktion::engine::CurveEditor::CurveEditor ( Edit e,
SelectionManager sm 
)

Definition at line 82 of file tracktion_CurveEditor.cpp.

◆ ~CurveEditor()

tracktion::engine::CurveEditor::~CurveEditor ( )
override

Definition at line 93 of file tracktion_CurveEditor.cpp.

Member Function Documentation

◆ areAnyPointsSelected()

bool tracktion::engine::CurveEditor::areAnyPointsSelected ( )
protected

Definition at line 827 of file tracktion_CurveEditor.cpp.

◆ changeListenerCallback()

void tracktion::engine::CurveEditor::changeListenerCallback ( juce::ChangeBroadcaster cb)
overridevirtual

Implements juce::ChangeListener.

Definition at line 786 of file tracktion_CurveEditor.cpp.

◆ getCurrentFillColour()

juce::Colour tracktion::engine::CurveEditor::getCurrentFillColour ( )
virtual

Definition at line 379 of file tracktion_CurveEditor.cpp.

◆ getEdit()

Edit & tracktion::engine::CurveEditor::getEdit ( ) const

Definition at line 808 of file tracktion_CurveEditor.cpp.

◆ getMouseCursor()

juce::MouseCursor tracktion::engine::CurveEditor::getMouseCursor ( )
overridevirtual

Reimplemented from juce::Component.

Definition at line 660 of file tracktion_CurveEditor.cpp.

◆ getPosition() [1/2]

juce::Point< float > tracktion::engine::CurveEditor::getPosition ( CurvePoint  p) const

Definition at line 766 of file tracktion_CurveEditor.cpp.

◆ getPosition() [2/2]

juce::Point< float > tracktion::engine::CurveEditor::getPosition ( int  index)

Definition at line 771 of file tracktion_CurveEditor.cpp.

◆ getSelectedPoint()

CurveEditorPoint * tracktion::engine::CurveEditor::getSelectedPoint ( int  idx)
protected

Definition at line 836 of file tracktion_CurveEditor.cpp.

◆ getTrack()

virtual Track * tracktion::engine::CurveEditor::getTrack ( )
virtual

Definition at line 94 of file tracktion_CurveEditor.h.

◆ hitTest()

bool tracktion::engine::CurveEditor::hitTest ( int  x,
int  y 
)
overridevirtual

Reimplemented from juce::Component.

Definition at line 286 of file tracktion_CurveEditor.cpp.

◆ isPointSelected()

bool tracktion::engine::CurveEditor::isPointSelected ( int  idx)
protected

Definition at line 818 of file tracktion_CurveEditor.cpp.

◆ mouseDoubleClick()

void tracktion::engine::CurveEditor::mouseDoubleClick ( const juce::MouseEvent e)
overridevirtual

Reimplemented from juce::Component.

Definition at line 597 of file tracktion_CurveEditor.cpp.

◆ mouseDown()

void tracktion::engine::CurveEditor::mouseDown ( const juce::MouseEvent e)
overridevirtual

Reimplemented from juce::Component.

Definition at line 317 of file tracktion_CurveEditor.cpp.

◆ mouseDrag()

void tracktion::engine::CurveEditor::mouseDrag ( const juce::MouseEvent e)
overridevirtual

Reimplemented from juce::Component.

Definition at line 390 of file tracktion_CurveEditor.cpp.

◆ mouseEnter()

void tracktion::engine::CurveEditor::mouseEnter ( const juce::MouseEvent e)
overridevirtual

Reimplemented from juce::Component.

Definition at line 638 of file tracktion_CurveEditor.cpp.

◆ mouseExit()

void tracktion::engine::CurveEditor::mouseExit ( const juce::MouseEvent e)
overridevirtual

Reimplemented from juce::Component.

Definition at line 644 of file tracktion_CurveEditor.cpp.

◆ mouseHovered()

void tracktion::engine::CurveEditor::mouseHovered ( int  mouseX,
int  mouseY 
)
overridevirtual

Implements tracktion::engine::MouseHoverDetector.

Definition at line 650 of file tracktion_CurveEditor.cpp.

◆ mouseMove()

void tracktion::engine::CurveEditor::mouseMove ( const juce::MouseEvent e)
overridevirtual

Reimplemented from juce::Component.

Definition at line 629 of file tracktion_CurveEditor.cpp.

◆ mouseMovedAfterHover()

void tracktion::engine::CurveEditor::mouseMovedAfterHover ( )
overridevirtual

Implements tracktion::engine::MouseHoverDetector.

Definition at line 655 of file tracktion_CurveEditor.cpp.

◆ mouseUp()

void tracktion::engine::CurveEditor::mouseUp ( const juce::MouseEvent e)
overridevirtual

Reimplemented from juce::Component.

Definition at line 557 of file tracktion_CurveEditor.cpp.

◆ nonRealTimeDragEnd()

virtual void tracktion::engine::CurveEditor::nonRealTimeDragEnd ( )
protectedvirtual

Definition at line 135 of file tracktion_CurveEditor.h.

◆ nonRealTimeDragStart()

virtual void tracktion::engine::CurveEditor::nonRealTimeDragStart ( )
protectedvirtual

Definition at line 134 of file tracktion_CurveEditor.h.

◆ paint()

void tracktion::engine::CurveEditor::paint ( juce::Graphics g)
overridevirtual

Reimplemented from juce::Component.

Definition at line 116 of file tracktion_CurveEditor.cpp.

◆ selectableObjectAboutToBeDeleted()

void tracktion::engine::CurveEditor::selectableObjectAboutToBeDeleted ( Selectable )
overridevirtual

Implements tracktion::engine::SelectableListener.

Definition at line 781 of file tracktion_CurveEditor.cpp.

◆ selectableObjectChanged()

void tracktion::engine::CurveEditor::selectableObjectChanged ( Selectable )
overridevirtual

Implements tracktion::engine::SelectableListener.

Definition at line 776 of file tracktion_CurveEditor.cpp.

◆ selectPoint()

void tracktion::engine::CurveEditor::selectPoint ( int  pointIdx,
bool  addToSelection 
)

Definition at line 384 of file tracktion_CurveEditor.cpp.

◆ setTimes()

void tracktion::engine::CurveEditor::setTimes ( TimePosition  leftTime,
TimePosition  rightTime 
)

Definition at line 740 of file tracktion_CurveEditor.cpp.

◆ snapTime()

TimePosition tracktion::engine::CurveEditor::snapTime ( TimePosition  time,
juce::ModifierKeys   
)
virtual

Definition at line 813 of file tracktion_CurveEditor.cpp.

◆ timeToX()

float tracktion::engine::CurveEditor::timeToX ( TimePosition  t) const

Definition at line 746 of file tracktion_CurveEditor.cpp.

◆ updateLineThickness()

void tracktion::engine::CurveEditor::updateLineThickness ( )

Definition at line 104 of file tracktion_CurveEditor.cpp.

◆ updatePointUnderMouse()

void tracktion::engine::CurveEditor::updatePointUnderMouse ( juce::Point< float pos)
protected

Definition at line 669 of file tracktion_CurveEditor.cpp.

◆ valueToY()

float tracktion::engine::CurveEditor::valueToY ( float  val) const

Definition at line 756 of file tracktion_CurveEditor.cpp.

◆ visibilityChanged()

void tracktion::engine::CurveEditor::visibilityChanged ( )
overridevirtual

Reimplemented from juce::Component.

Definition at line 312 of file tracktion_CurveEditor.cpp.

◆ xToTime()

TimePosition tracktion::engine::CurveEditor::xToTime ( double  x) const

Definition at line 751 of file tracktion_CurveEditor.cpp.

◆ yToValue()

float tracktion::engine::CurveEditor::yToValue ( double  y) const

Definition at line 761 of file tracktion_CurveEditor.cpp.

Member Data Documentation

◆ curveUnderMouse

int tracktion::engine::CurveEditor::curveUnderMouse
protected

Definition at line 150 of file tracktion_CurveEditor.h.

◆ defaultCurve

float tracktion::engine::CurveEditor::defaultCurve
protected

Definition at line 158 of file tracktion_CurveEditor.h.

◆ dragged

bool tracktion::engine::CurveEditor::dragged
protected

Definition at line 151 of file tracktion_CurveEditor.h.

◆ edit

Edit& tracktion::engine::CurveEditor::edit
protected

Definition at line 143 of file tracktion_CurveEditor.h.

◆ firstIndexOnScreen

int tracktion::engine::CurveEditor::firstIndexOnScreen
protected

Definition at line 148 of file tracktion_CurveEditor.h.

◆ isCurveSelected

bool tracktion::engine::CurveEditor::isCurveSelected
protected

Definition at line 154 of file tracktion_CurveEditor.h.

◆ leftTime

TimePosition tracktion::engine::CurveEditor::leftTime
protected

Definition at line 147 of file tracktion_CurveEditor.h.

◆ lineThickness

float tracktion::engine::CurveEditor::lineThickness
protected

Definition at line 159 of file tracktion_CurveEditor.h.

◆ lineUnderMouse

int tracktion::engine::CurveEditor::lineUnderMouse
protected

Definition at line 150 of file tracktion_CurveEditor.h.

◆ mouseDownCurve

float tracktion::engine::CurveEditor::mouseDownCurve
protected

Definition at line 155 of file tracktion_CurveEditor.h.

◆ mouseDownTime

TimePosition tracktion::engine::CurveEditor::mouseDownTime
protected

Definition at line 152 of file tracktion_CurveEditor.h.

◆ mouseDownValue

float tracktion::engine::CurveEditor::mouseDownValue
protected

Definition at line 153 of file tracktion_CurveEditor.h.

◆ movingAllPoints

bool tracktion::engine::CurveEditor::movingAllPoints
protected

Definition at line 151 of file tracktion_CurveEditor.h.

◆ parameterMinValue

float tracktion::engine::CurveEditor::parameterMinValue
protected

Definition at line 146 of file tracktion_CurveEditor.h.

◆ parameterRange

float tracktion::engine::CurveEditor::parameterRange
protected

Definition at line 146 of file tracktion_CurveEditor.h.

◆ point1

float tracktion::engine::CurveEditor::point1
protected

Definition at line 156 of file tracktion_CurveEditor.h.

◆ point2

float tracktion::engine::CurveEditor::point2
protected

Definition at line 156 of file tracktion_CurveEditor.h.

◆ pointBeingMoved

int tracktion::engine::CurveEditor::pointBeingMoved
protected

Definition at line 149 of file tracktion_CurveEditor.h.

◆ pointRadius

constexpr const float tracktion::engine::CurveEditor::pointRadius
staticconstexprprotected

Definition at line 141 of file tracktion_CurveEditor.h.

◆ pointUnderMouse

int tracktion::engine::CurveEditor::pointUnderMouse
protected

Definition at line 149 of file tracktion_CurveEditor.h.

◆ realTimeDrag

bool tracktion::engine::CurveEditor::realTimeDrag
protected

Definition at line 157 of file tracktion_CurveEditor.h.

◆ rightTime

TimePosition tracktion::engine::CurveEditor::rightTime
protected

Definition at line 147 of file tracktion_CurveEditor.h.

◆ selectionManager

SelectionManager& tracktion::engine::CurveEditor::selectionManager
protected

Definition at line 145 of file tracktion_CurveEditor.h.

◆ undoManager

juce::UndoManager& tracktion::engine::CurveEditor::undoManager
protected

Definition at line 144 of file tracktion_CurveEditor.h.


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