Gin
|
Draws an XY Scope. More...
#include <gin_xyscope.h>
Inherits juce::Component, and juce::Timer.
Public Types | |
enum | ColourIds { lineColourId = 0x1291e10 , backgroundColourId = 0x1291e11 , traceColourId = 0x1291e12 } |
Public Member Functions | |
XYScope (AudioFifo &) | |
Creates a XY scope. | |
~XYScope () override | |
Destructor. | |
void | setNumSamplesPerPixel (float newNumSamplesPerPixel) |
Sets the number of samples represented by each pixel on the scope. | |
void | setZoomFactor (float newZoomFactor) |
Sets the vertical zoom factor of the display. | |
void | paint (juce::Graphics &g) override |
void | timerCallback () override |
Draws an XY Scope.
XYScope::XYScope | ( | AudioFifo & | ) |
Creates a XY scope.
Pass a fifo to read from
|
override |
Destructor.
Sets the number of samples represented by each pixel on the scope.
Setting this to a low number will give a very zoomed in display, a high number zoom out.
|
override |
|
override |