Zrythm v2.0.0-DEV
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
12
13#ifndef __GUI_WIDGETS_SCALE_OBJECT_H__
14#define __GUI_WIDGETS_SCALE_OBJECT_H__
15
17#include "gui/backend/gtk_widgets/gtk_wrapper.h"
18
24
25#define SCALE_OBJECT_WIDGET_TRIANGLE_W 10
26#define SCALE_OBJECT_NAME_FONT "Sans SemiBold 8"
27#define SCALE_OBJECT_NAME_PADDING 2
28
34void
36
40void
41scale_object_draw (ScaleObject * self, GtkSnapshot * snapshot);
42
46
47#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.
ArrangerObject related functions for the GUI.