Represents an LED strip on a device. More...
#include <juce_LEDRow.h>
Public Member Functions | |
LEDRow (Block &) | |
virtual | ~LEDRow () |
Destructor. More... | |
virtual int | getNumLEDs () const =0 |
Return the number of LEDs in the row. More... | |
virtual void | resetOverlayColour ()=0 |
virtual void | setLEDColour (int index, LEDColour newColour)=0 |
Sets the colour of the corresponding LED. More... | |
virtual void | setOverlayColour (LEDColour newColour)=0 |
Overlays all LEDs with a single colour. More... | |
Public Attributes | |
Block & | block |
The device that these lights belong to. More... | |
Represents an LED strip on a device.
{Blocks}
juce::LEDRow::LEDRow | ( | Block & | ) |
|
virtual |
Destructor.
|
pure virtual |
Return the number of LEDs in the row.
|
pure virtual |
Sets the colour of the corresponding LED.
|
pure virtual |
Overlays all LEDs with a single colour.
Whilst the overlay is set subsequent calls to setLEDColour will happen behind* the overlay, and will be invisible to the user until the overlay is removed.
Block& juce::LEDRow::block |
The device that these lights belong to.