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

Instance-specific data for CalfKeyboard. More...

#include <ctl_keyboard.h>

Classes

struct  KeyInfo
 Structure with information needed for drawing a single key. More...
struct  EventSink
 Set of user-defined callbacks for customizing display and operation of CalfKeyboard. More...
struct  EventAdapter
 Null implementation of CalfKeyboard::EventSink. More...
struct  EventTester
 Debug/example implementation of CalfKeyboard::EventSink. More...

Public Attributes

GtkWidget parent
 Parent instance members.
int nkeys
 Range (number of white keys = number of octaves * 7 + 1).
EventSinksink
int last_key
 The note currently pressed via mouse selection.
bool interactive
 If true, the keyboard accepts mouse clicks and keys.

Detailed Description

Instance-specific data for CalfKeyboard.

Member Data Documentation

◆ interactive

bool CalfKeyboard::interactive

If true, the keyboard accepts mouse clicks and keys.

◆ last_key

int CalfKeyboard::last_key

The note currently pressed via mouse selection.

◆ nkeys

int CalfKeyboard::nkeys

Range (number of white keys = number of octaves * 7 + 1).

◆ parent

GtkWidget CalfKeyboard::parent

Parent instance members.

◆ sink

EventSink* CalfKeyboard::sink

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