|
LMMS
|
Set of user-defined callbacks for customizing display and operation of CalfKeyboard. More...
#include <ctl_keyboard.h>
Public Member Functions | |
| virtual void | set_instance (CalfKeyboard *kb)=0 |
| (will be) called on attachment of sink to CalfKeyboard object | |
| virtual bool | pre_draw (cairo_t *c, KeyInfo &ki)=0 |
| virtual bool | pre_draw_outline (cairo_t *c, KeyInfo &ki)=0 |
| virtual void | post_draw (cairo_t *c, KeyInfo &ki)=0 |
| called after key is drawn using standard method (but not if drawing is skipped) | |
| virtual void | post_all (cairo_t *c)=0 |
| called after key is drawn | |
| virtual void | note_on (int note, int vel)=0 |
| key was pressed | |
| virtual void | note_off (int note)=0 |
| key was released | |
| virtual | ~EventSink () |
Set of user-defined callbacks for customizing display and operation of CalfKeyboard.
|
inlinevirtual |
key was released
Implemented in CalfKeyboard::EventAdapter, and CalfKeyboard::EventTester.
key was pressed
Implemented in CalfKeyboard::EventAdapter, and CalfKeyboard::EventTester.
|
pure virtual |
called after key is drawn
Implemented in CalfKeyboard::EventAdapter.
called after key is drawn using standard method (but not if drawing is skipped)
Implemented in CalfKeyboard::EventAdapter, and CalfKeyboard::EventTester.
|
pure virtual |
called before drawing key interior
| true | do not draw the key |
Implemented in CalfKeyboard::EventAdapter, and CalfKeyboard::EventTester.
|
pure virtual |
| true | do not draw the outline called before drawing key outline of white keys |
Implemented in CalfKeyboard::EventAdapter.
|
pure virtual |
(will be) called on attachment of sink to CalfKeyboard object
Implemented in CalfKeyboard::EventAdapter.