Displays the text of the Mackie Control Universal LCD screen for a single track.  
 More...
#include <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()
  
  
      
        
          | void MCU::LCDDisplay::draw  | 
          ( | 
           | ) | 
           | 
         
       
   | 
  
inlineoverridevirtual   | 
  
 
 
◆ separateTracks()
  
  
      
        
          | bool MCU::LCDDisplay::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 MCU::LCDDisplay::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
  
  
      
        
          | uint8_t MCU::LCDDisplay::offset | 
         
       
   | 
  
private   | 
  
 
 
◆ line
  
  
      
        
          | uint8_t MCU::LCDDisplay::line | 
         
       
   | 
  
private   | 
  
 
 
  
  
      
        
          | int16_t MCU::LCDDisplay::x | 
         
       
   | 
  
private   | 
  
 
 
  
  
      
        
          | int16_t MCU::LCDDisplay::y | 
         
       
   | 
  
private   | 
  
 
 
◆ size
  
  
      
        
          | uint8_t MCU::LCDDisplay::size | 
         
       
   | 
  
private   | 
  
 
 
◆ color
  
  
      
        
          | uint16_t MCU::LCDDisplay::color | 
         
       
   | 
  
private   | 
  
 
 
◆ display
◆ elements
◆ next
◆ previous
The documentation for this class was generated from the following file: