]> git.cworth.org Git - scherzo/blobdiff - score.h
Add some (particularly cheesy) drawing of a brace and clefs on the grand staff.
[scherzo] / score.h
diff --git a/score.h b/score.h
index ece395137be54c92949c3d1951cc3f0d9368e1df..02b56e3a0956aa18238279b9db474555db6aac4d 100644 (file)
--- a/score.h
+++ b/score.h
@@ -21,6 +21,7 @@
 #ifndef SCORE_H
 #define SCORE_H
 
+#include <talloc.h>
 #include <cairo.h>
 
 typedef struct score score_t;
@@ -38,6 +39,10 @@ score_create (void *ctx);
 int
 score_set_staff_height (score_t *score, int height);
 
+/* Set the total width available for drawing the score. */
+void
+score_set_width (score_t *score, int width);
+
 /* Draw the given score_t onto the given cairo_t.
  *
  * The caller can call cairo_translate before calling score_draw to