commit 8b580f745b171d9f71ea0e8a66b7bc14710a98c9
parent 0a255777901f6c39440829638b47d0bcc63c7cad
Author: nibo <nibo@relim.de>
Date: Sun, 20 Oct 2024 17:29:49 +0200
Change ChoLine struct
Diffstat:
1 file changed, 9 insertions(+), 1 deletion(-)
diff --git a/chordpro.h b/chordpro.h
@@ -303,12 +303,20 @@ struct ChoLineItemAbove {
} u;
};
-struct ChoLine {
+struct ChoSongLine {
struct ChoLineItemAbove **text_above;
struct ChoLineItem **lyrics;
enum BreakType btype;
};
+struct ChoLine {
+ bool is_song_line;
+ union {
+ struct ChoSongLine *s;
+ struct ChoImage *i;
+ } u;
+};
+
struct ChoLabel {
char *name;
struct Style *style;