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"
18#include "utils/ui.h"
19
20#include <gtk/gtk.h>
21
28#define VELOCITY_WIDTH 8
29#define VELOCITY_LINE_WIDTH 4
30#define VELOCITY_RESIZE_THRESHOLD 16
31
36void
37velocity_draw (Velocity * self, GtkSnapshot * snapshot);
38
43#endif
Velocities for MidiNote's.
void velocity_draw(Velocity *self, GtkSnapshot *snapshot)
Draws the Velocity in the given cairo context in relative coordinates.
The MidiNote velocity.
Definition velocity.h:41
User Interface utils.
ArrangerObject related functions for the GUI.