Zrythm v2.0.0-DEV
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
12
13#ifndef __GUI_WIDGETS_VELOCITY_H__
14#define __GUI_WIDGETS_VELOCITY_H__
15
16#include "common/dsp/velocity.h"
17#include "common/utils/ui.h"
19#include "gui/backend/gtk_widgets/gtk_wrapper.h"
20
26
27#define VELOCITY_WIDTH 8
28#define VELOCITY_LINE_WIDTH 4
29#define VELOCITY_RESIZE_THRESHOLD 16
30
35void
36velocity_draw (Velocity * self, GtkSnapshot * snapshot);
37
41
42#endif
void velocity_draw(Velocity *self, GtkSnapshot *snapshot)
Draws the Velocity in the given cairo context in relative coordinates.
ArrangerObject related functions for the GUI.