LMMS
Loading...
Searching...
No Matches
CalfKeyboard::KeyInfo Struct Reference

Structure with information needed for drawing a single key. More...

#include <ctl_keyboard.h>

Public Attributes

double x
 X coordinate of the top-left point of the key.
double y
 Y coordinate of the top-left point of the key.
double width
 key width
double height
 key height
int note
 MIDI note number.
bool black
 true if it's a black key, false if it's a white key

Detailed Description

Structure with information needed for drawing a single key.

Member Data Documentation

◆ black

bool CalfKeyboard::KeyInfo::black

true if it's a black key, false if it's a white key

◆ height

double CalfKeyboard::KeyInfo::height

key height

◆ note

int CalfKeyboard::KeyInfo::note

MIDI note number.

◆ width

double CalfKeyboard::KeyInfo::width

key width

◆ x

double CalfKeyboard::KeyInfo::x

X coordinate of the top-left point of the key.

◆ y

double CalfKeyboard::KeyInfo::y

Y coordinate of the top-left point of the key.


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