foleys_gui_magic
WYSWYG editor for JUCE GUIs including Visualisers
Public Types | Public Member Functions | List of all members
MagicPlotComponent Class Reference

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

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 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().

◆ 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: