X-Git-Url: https://git.cworth.org/git?p=scherzo;a=blobdiff_plain;f=score.h;h=d2de1091c5cecdce1bd6cc6d4bb4d5d513c9e3f1;hp=e71b8ab2c98b6b6754ffc551a8f26e7c4ab7fe04;hb=HEAD;hpb=aae6b7f55870ab7f9cd41f95e22231e66a673aea diff --git a/score.h b/score.h index e71b8ab..d2de109 100644 --- a/score.h +++ b/score.h @@ -24,7 +24,7 @@ #include #include -#include "pitch.h" +#include "scherzo-key.h" typedef enum score_duration { @@ -84,6 +84,10 @@ score_set_staff_height (score_t *score, int height); void score_set_width (score_t *score, int width); +/* Set the key for this score */ +void +score_set_key (score_t *score, pitch_t key); + /* Add a brace to the score, connecting the given number of staves. * * The staves to be connected are those that will next be added to the