All Classes Namespaces Functions Variables Enumerations Enumerator Modules Pages
Public Member Functions | List of all members
CustomKeyboardState Class Reference
Inheritance diagram for CustomKeyboardState:

Public Member Functions

 CustomKeyboardState ()
Colour getColourForSingleKey (int noteNumber) const
bool isColourDefinedForKey (int noteNumber) const
void setColourForSingleKey (int noteNumber, Colour colour)
- Public Member Functions inherited from SafeChangeBroadcaster
void sendSynchronousChangeMessage ()
void addChangeListener (SafeChangeListener *listener)
void removeChangeListener (SafeChangeListener *listener)
void removeAllChangeListeners ()
void sendChangeMessage (const String &=String())
void sendAllocationFreeChangeMessage ()

Detailed Description

A keyboard state which adds the possibility of colouring the keys.

Constructor & Destructor Documentation

CustomKeyboardState ( )

Creates a new keyboard state.

Member Function Documentation

Colour getColourForSingleKey ( int  noteNumber) const

Returns the colour for the given note number.

bool isColourDefinedForKey ( int  noteNumber) const

Checks if a colour was specified for the given note number.

void setColourForSingleKey ( int  noteNumber,
Colour  colour 

Changes the colour for the given note number.

©2017 HISE. This documentation is autogenerated from the HISE source code using Doxygen.