Represents a 2D grid of LEDs on a block device.
More...
#include <juce_LEDGrid.h>
|
| LEDGrid (Block &) |
|
virtual | ~LEDGrid () |
| Destructor.
|
|
virtual int | getNumColumns () const =0 |
| Returns the number of columns in the LED grid.
|
|
virtual int | getNumRows () const =0 |
| Returns the number of rows in the LED grid.
|
|
void | setRenderer (Renderer::Ptr newRenderer) noexcept |
| Set the visualiser that will create visuals for this block (nullptr for none).
|
|
Renderer::Ptr | getRenderer () const noexcept |
| Returns the visualiser currently attached to this block (nullptr for none).
|
|
Represents a 2D grid of LEDs on a block device.
◆ LEDGrid()
LEDGrid::LEDGrid |
( |
Block & |
| ) |
|
◆ ~LEDGrid()
virtual LEDGrid::~LEDGrid |
( |
| ) |
|
|
virtual |
◆ getNumColumns()
virtual int LEDGrid::getNumColumns |
( |
| ) |
const |
|
pure virtual |
Returns the number of columns in the LED grid.
◆ getNumRows()
virtual int LEDGrid::getNumRows |
( |
| ) |
const |
|
pure virtual |
Returns the number of rows in the LED grid.
◆ setRenderer()
Set the visualiser that will create visuals for this block (nullptr for none).
Note that the LEDGrid will NOT take ownership of this object, so the caller must ensure that it doesn't get deleted while in use here.
◆ getRenderer()
Returns the visualiser currently attached to this block (nullptr for none).
◆ block
The device that this LEDGrid belongs to.
The documentation for this class was generated from the following file: