Zrythm
a highly automated and intuitive digital audio workstation
Loading...
Searching...
No Matches
chord_preset.h
Go to the documentation of this file.
1// SPDX-FileCopyrightText: © 2022 Alexandros Theodotou <alex@zrythm.org>
2// SPDX-License-Identifier: LicenseRef-ZrythmLicense
3
10#ifndef __SETTINGS_CHORD_PRESET_H__
11#define __SETTINGS_CHORD_PRESET_H__
12
13#include "zrythm-config.h"
14
16#include "utils/yaml.h"
17
18typedef struct ChordPresetPack ChordPresetPack;
19
29typedef struct ChordPreset
30{
32 char * name;
33
36
40
42chord_preset_new (void);
43
45chord_preset_new_from_name (const char * name);
46
47NONNULL ChordPreset *
48chord_preset_clone (const ChordPreset * src);
49
55char *
57
58const char *
59chord_preset_get_name (const ChordPreset * self);
60
61void
62chord_preset_set_name (ChordPreset * self, const char * name);
63
64GMenuModel *
65chord_preset_generate_context_menu (const ChordPreset * self);
66
70NONNULL void
72
77#endif
Descriptors for chords.
char * chord_preset_get_info_text(const ChordPreset *self)
Gets informational text.
NONNULL void chord_preset_free(ChordPreset *self)
Frees the plugin setting.
A ChordDescriptor describes a chord and is not linked to any specific object by itself.
Chord preset pack.
A preset of chord descriptors.
char * name
Preset name.
ChordPresetPack * pack
Pointer to owner pack.
ChordDescriptor * descr[12]
Chord descriptors.
YAML utils.