WYSWYG editor for JUCE GUIs including Visualisers
Loading...
Searching...
No Matches
MagicPlotComponent Class Reference

The MagicPlotComponent allows drawing the data from a MagicPlotSource. More...

#include <foleys_MagicPlotComponent.h>

Inherits Component, and SettableTooltipClient.

Public Types

enum  ColourIds { plotColourId = 0x2001000 , plotInactiveColourId , plotFillColourId , plotInactiveFillColourId }
 

Public Member Functions

 MagicPlotComponent ()
 
void setPlotSource (MagicPlotSource *source)
 
void setDecayFactor (float decayFactor)
 
void setGradientFromString (const juce::String &cssString, Stylesheet &stylesheet)
 
void paint (juce::Graphics &g) override
 
void resized () override
 
bool hitTest (int, int) override
 
bool needsUpdate () const
 

Detailed Description

The MagicPlotComponent allows drawing the data from a MagicPlotSource.

Member Enumeration Documentation

◆ ColourIds

enum ColourIds
Enumerator
plotColourId 
plotInactiveColourId 
plotFillColourId 
plotInactiveFillColourId 

Constructor & Destructor Documentation

◆ MagicPlotComponent()

Member Function Documentation

◆ setPlotSource()

void setPlotSource ( MagicPlotSource * source)

Referenced by PlotItem::update().

◆ setDecayFactor()

void setDecayFactor ( float decayFactor)

Referenced by PlotItem::update().

◆ setGradientFromString()

void setGradientFromString ( const juce::String & cssString,
Stylesheet & stylesheet )

Referenced by PlotItem::update().

◆ paint()

void paint ( juce::Graphics & g)
override

◆ resized()

void resized ( )
override

◆ hitTest()

bool hitTest ( int ,
int  )
override

◆ needsUpdate()

bool needsUpdate ( ) const

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