Logo Search packages:      
Sourcecode: calf version File versions  Download package

CalfKeyboard::EventAdapter Struct Reference

#include <ctl_keyboard.h>

Inheritance diagram for CalfKeyboard::EventAdapter:

CalfKeyboard::EventSink CalfKeyboard::EventTester

List of all members.

Detailed Description

Null implementation of CalfKeyboard::EventSink.

Definition at line 74 of file ctl_keyboard.h.

Public Member Functions

virtual void note_off (int note)
 key was released
virtual void note_on (int note, int vel)
 key was pressed
virtual void post_all (cairo_t *c)
 called after key is drawn
virtual void post_draw (cairo_t *c, KeyInfo &ki)
 called after key is drawn using standard method (but not if drawing is skipped)
virtual bool pre_draw (cairo_t *c, KeyInfo &ki)
virtual bool pre_draw_outline (cairo_t *c, KeyInfo &ki)
virtual void set_instance (CalfKeyboard *_kb)
 (will be) called on attachment of sink to CalfKeyboard object

Public Attributes


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

Generated by  Doxygen 1.6.0   Back to index