ScummVM API documentation
MT32Emu::Display Class Reference

#include <Display.h>

Public Types

enum  Mode {
  Mode_MAIN, Mode_STARTUP_MESSAGE, Mode_PROGRAM_CHANGE, Mode_CUSTOM_MESSAGE,
  Mode_ERROR_MESSAGE
}
 

Public Member Functions

 Display (Synth &synth)
 
void checkDisplayStateUpdated (bool &midiMessageLEDState, bool &midiMessageLEDUpdated, bool &lcdUpdated)
 
bool getDisplayState (char *targetBuffer, bool narrowLCD)
 
void setMainDisplayMode ()
 
void midiMessagePlayed ()
 
void rhythmNotePlayed ()
 
void voicePartStateChanged (Bit8u partIndex, bool activated)
 
void masterVolumeChanged ()
 
void programChanged (Bit8u partIndex)
 
void checksumErrorOccurred ()
 
bool customDisplayMessageReceived (const Bit8u *message, Bit32u startIndex, Bit32u length)
 
void displayControlMessageReceived (const Bit8u *messageBytes, Bit32u length)
 

Static Public Attributes

static const unsigned int LCD_TEXT_SIZE = 20
 

Detailed Description

Facilitates emulation of internal state of the MIDI MESSAGE LED and the MT-32 LCD.

Member Function Documentation

◆ getDisplayState()

bool MT32Emu::Display::getDisplayState ( char *  targetBuffer,
bool  narrowLCD 
)

Returns whether the MIDI MESSAGE LED is ON and fills the targetBuffer parameter.


The documentation for this class was generated from the following file: