#include "xmidi_keyboard.h"
Go to the source code of this file.
Functions | |
| void | keysym_azerty_to_midi_key (long inkey, float *midi_key) |
| void | keysym_qwertz_to_midi_key (long inkey, float *midi_key) |
| void | keysym_qwerty_to_midi_key (unsigned int inkey, float *midi_key) |
| bool | is_key_in_matrix (unsigned long *key_matrix, int key) |
| bool | have_key_in_matrix (unsigned long *key_matrix) |
| void | clear_key_matrix (unsigned long *key_matrix) |
| void | mk_draw_knob (void *w_, void *user_data) |
| Widget_t * | add_keyboard_knob (Widget_t *parent, const char *label, int x, int y, int width, int height) |
| Widget_t * | open_midi_keyboard (Widget_t *w) |
| Widget_t* add_keyboard_knob | ( | Widget_t * | parent, |
| const char * | label, | ||
| int | x, | ||
| int | y, | ||
| int | width, | ||
| int | height | ||
| ) |
Definition at line 782 of file xmidi_keyboard.c.
References add_knob(), Widget_t::adj, CL_CONTINUOS, Func_t::expose_callback, Widget_t::flags, Widget_t::func, Func_t::key_press_callback, mk_draw_knob(), NO_AUTOREPEAT, and set_adjustment().
| void clear_key_matrix | ( | unsigned long * | key_matrix | ) |
Definition at line 221 of file xmidi_keyboard.c.
| bool have_key_in_matrix | ( | unsigned long * | key_matrix | ) |
Definition at line 204 of file xmidi_keyboard.c.
| bool is_key_in_matrix | ( | unsigned long * | key_matrix, |
| int | key | ||
| ) |
Definition at line 183 of file xmidi_keyboard.c.
| void keysym_azerty_to_midi_key | ( | long | inkey, |
| float * | midi_key | ||
| ) |
Definition at line 24 of file xmidi_keyboard.c.
| void keysym_qwerty_to_midi_key | ( | unsigned int | inkey, |
| float * | midi_key | ||
| ) |
| void keysym_qwertz_to_midi_key | ( | long | inkey, |
| float * | midi_key | ||
| ) |
Definition at line 90 of file xmidi_keyboard.c.
| void mk_draw_knob | ( | void * | w_, |
| void * | user_data | ||
| ) |
get values for the knob
create a rotating pointer on the kob
show value on the kob
show label below the knob
Definition at line 231 of file xmidi_keyboard.c.
References adj_get_state(), Widget_t::adj_y, Widget_t::app, Widget_t::crb, Xputty::dpy, get_color_state(), Widget_t::label, min, Widget_t::state, use_text_color_scheme(), Adjustment_t::value, and Widget_t::widget.
Definition at line 793 of file xmidi_keyboard.c.
References MidiKeyboard::active_key, Widget_t::app, create_window(), Xputty::dpy, Func_t::expose_callback, Widget_t::flags, Widget_t::func, HAS_MEM, MidiKeyboard::icon, MidiKeyboard::key_matrix, MidiKeyboard::layout, NO_AUTOREPEAT, MidiKeyboard::octave, Widget_t::parent, Widget_t::parent_struct, MidiKeyboard::prelight_key, MidiKeyboard::send_key, and Widget_t::widget.