|
JUCE
|
Represents an LED strip on a device. More...
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 | 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... | |
| virtual void | resetOverlayColour ()=0 |
Public Attributes | |
| Block & | block |
| The device that these lights belong to. More... | |
Represents an LED strip on a device.
| LEDRow::LEDRow | ( | Block & | ) |
|
virtual |
Destructor.
|
pure virtual |
Return the number of LEDs in the row.
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.
|
pure virtual |
| Block& LEDRow::block |
The device that these lights belong to.
1.8.13