Zrythm
a highly automated and intuitive digital audio workstation
Loading...
Searching...
No Matches
velocity.h
Go to the documentation of this file.
1
/*
2
* SPDX-FileCopyrightText: © 2019-2021 Alexandros Theodotou <alex@zrythm.org>
3
*
4
* SPDX-License-Identifier: LicenseRef-ZrythmLicense
5
*/
6
13
#ifndef __GUI_WIDGETS_VELOCITY_H__
14
#define __GUI_WIDGETS_VELOCITY_H__
15
16
#include "
dsp/velocity.h
"
17
#include "
gui/widgets/arranger_object.h
"
18
#include "
utils/ui.h
"
19
20
#include "gtk_wrapper.h"
21
28
#define VELOCITY_WIDTH 8
29
#define VELOCITY_LINE_WIDTH 4
30
#define VELOCITY_RESIZE_THRESHOLD 16
31
36
void
37
velocity_draw
(
Velocity
* self, GtkSnapshot * snapshot);
38
43
#endif
velocity.h
Velocities for MidiNote's.
velocity_draw
void velocity_draw(Velocity *self, GtkSnapshot *snapshot)
Draws the Velocity in the given cairo context in relative coordinates.
Velocity
The MidiNote velocity.
Definition
velocity.h:41
ui.h
User Interface utils.
arranger_object.h
ArrangerObject related functions for the GUI.
gui
widgets
velocity.h
Generated by
1.11.0