Zrythm
a highly automated and intuitive digital audio workstation
Loading...
Searching...
No Matches
chord_object.h
Go to the documentation of this file.
1// clang-format off
2// SPDX-FileCopyrightText: © 2019, 2021-2022 Alexandros Theodotou <alex@zrythm.org>
3// SPDX-License-Identifier: LicenseRef-ZrythmLicense
4// clang-format on
5
12#ifndef __GUI_WIDGETS_CHORD_OBJECT_H__
13#define __GUI_WIDGETS_CHORD_OBJECT_H__
14
16
17#include <gtk/gtk.h>
18
25#define CHORD_OBJECT_WIDGET_TRIANGLE_W 10
26#define CHORD_OBJECT_NAME_FONT "Bold 8"
27#define CHORD_OBJECT_NAME_PADDING 2
28
32void
34
38void
39chord_object_draw (ChordObject * self, GtkSnapshot * snapshot);
40
45#endif
void chord_object_recreate_pango_layouts(ChordObject *self)
Recreates the pango layouts for drawing.
void chord_object_draw(ChordObject *self, GtkSnapshot *snapshot)
Draws the given chord object.
A ChordObject to be shown in the TimelineArrangerWidget.
ArrangerObject related functions for the GUI.