Displays the text of the Mackie Control Universal LCD screen for a single track.
More...
#include <Display/MCU/LCDDisplay.hpp>
|
| LCDDisplay (DisplayInterface &display, const MCU::LCD<> &lcd, const OutputBank &bank, uint8_t track, PixelLocation loc, uint8_t textSize, uint16_t color) |
| Constructor. More...
|
|
| LCDDisplay (DisplayInterface &display, const MCU::LCD<> &lcd, const OutputBank &bank, uint8_t track, uint8_t line, PixelLocation loc, uint8_t textSize, uint16_t color) |
| Constructor. More...
|
|
void | draw () override |
| Draw this DisplayElement to the display buffer. More...
|
|
bool | separateTracks () const |
| Check if the display contains a message for each track separately. More...
|
|
void | setLine (uint8_t line) |
|
DisplayInterface & | getDisplay () |
| Get a reference to the display that this element draws to. More...
|
|
const DisplayInterface & | getDisplay () const |
| Get a const reference to the display that this element draws to. More...
|
|
Displays the text of the Mackie Control Universal LCD screen for a single track.
Often used for track names.
- Examples
- MCU-OLED-SSD1306-x2.ino.
Definition at line 18 of file LCDDisplay.hpp.
◆ LCDDisplay() [1/2]
Constructor.
- Parameters
-
display | |
lcd | |
bank | |
track | The track number to display [1, 8]. |
loc | |
textSize | |
color | |
Definition at line 32 of file LCDDisplay.hpp.
◆ LCDDisplay() [2/2]
Constructor.
- Parameters
-
display | |
lcd | |
bank | |
track | The track number to display [1, 8]. |
line | |
loc | |
textSize | |
color | |
Definition at line 51 of file LCDDisplay.hpp.
◆ draw()
◆ separateTracks()
bool separateTracks |
( |
| ) |
const |
|
inline |
Check if the display contains a message for each track separately.
On the original Mackie Control surfaces, the LCD display consists of two 56-character lines, where each of the 8 channels has 7 characters. If the LCD is used to display a message for each channel separately, the seventh character of each channel is always a space, as separation between the channels.
- Return values
-
true | The display contains a message for each track separately, and the messages are separated by spaces. |
false | The display contains a message that spans across multiple tracks, without separating spaces between the tracks. |
Definition at line 95 of file LCDDisplay.hpp.
◆ setLine()
void setLine |
( |
uint8_t |
line | ) |
|
|
inline |
◆ getDisplay() [1/2]
Get a reference to the display that this element draws to.
Definition at line 36 of file DisplayElement.hpp.
◆ getDisplay() [2/2]
Get a const reference to the display that this element draws to.
Definition at line 38 of file DisplayElement.hpp.
◆ getAll()
◆ lcd
◆ bank
◆ offset
◆ line
◆ size
◆ color
◆ display
◆ elements
◆ next
◆ previous
The documentation for this class was generated from the following file: