Zrythm
a highly automated and intuitive digital audio workstation
Loading...
Searching...
No Matches
scale_object.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_SCALE_OBJECT_H__
14#define __GUI_WIDGETS_SCALE_OBJECT_H__
15
17
18#include <gtk/gtk.h>
19
26#define SCALE_OBJECT_WIDGET_TRIANGLE_W 10
27#define SCALE_OBJECT_NAME_FONT "Sans SemiBold 8"
28#define SCALE_OBJECT_NAME_PADDING 2
29
35void
37
41void
42scale_object_draw (ScaleObject * self, GtkSnapshot * snapshot);
43
48#endif
void scale_object_recreate_pango_layouts(ScaleObject *self)
Recreates the pango layouts for drawing.
void scale_object_draw(ScaleObject *self, GtkSnapshot *snapshot)
Draws the given scale object.
A ScaleObject to be shown in the TimelineArrangerWidget.
ArrangerObject related functions for the GUI.