|
LMMS
|
Debug/example implementation of CalfKeyboard::EventSink. More...
#include <ctl_keyboard.h>
Public Member Functions | |
| virtual bool | pre_draw (cairo_t *c, KeyInfo &ki) |
| virtual void | post_draw (cairo_t *c, KeyInfo &ki) |
| called after key is drawn using standard method (but not if drawing is skipped) | |
| virtual void | note_on (int note, int vel) |
| key was pressed | |
| virtual void | note_off (int note) |
| key was released | |
| Public Member Functions inherited from CalfKeyboard::EventAdapter | |
| virtual void | set_instance (CalfKeyboard *_kb) |
| (will be) called on attachment of sink to CalfKeyboard object | |
| virtual bool | pre_draw_outline (cairo_t *c, KeyInfo &ki) |
| virtual void | post_all (cairo_t *c) |
| called after key is drawn | |
| Public Member Functions inherited from CalfKeyboard::EventSink | |
| virtual | ~EventSink () |
Additional Inherited Members | |
| Public Attributes inherited from CalfKeyboard::EventAdapter | |
| CalfKeyboard * | kb |
Debug/example implementation of CalfKeyboard::EventSink.
key was released
Reimplemented from CalfKeyboard::EventAdapter.
key was pressed
Reimplemented from CalfKeyboard::EventAdapter.
called after key is drawn using standard method (but not if drawing is skipped)
Reimplemented from CalfKeyboard::EventAdapter.
|
inlinevirtual |
called before drawing key interior
| true | do not draw the key |
Reimplemented from CalfKeyboard::EventAdapter.