]> git.cworth.org Git - scherzo/blobdiff - score.h
Make score_note_t entirely private to score.c
[scherzo] / score.h
diff --git a/score.h b/score.h
index 573af22725a23f3a02c49b53ca4c2a67167b0ed9..c5d275de0bc4e7614f1effed1ff6ea5d5f42308a 100644 (file)
--- a/score.h
+++ b/score.h
@@ -51,19 +51,6 @@ typedef enum score_duration
 typedef struct score score_t;
 typedef struct score_staff score_staff_t;
 
-typedef struct score_note
-{
-    score_staff_t *staff;
-    pitch_t pitch;
-    score_duration_t duration;
-
-    struct {
-       double r;
-       double g;
-       double b;
-    } color;
-} score_note_t;
-
 typedef struct score_chord
 {
     score_staff_t *staff;
@@ -139,9 +126,6 @@ score_add_chord (score_staff_t *staff,
 void
 score_remove_chord (score_chord_t *chord);
 
-/* Remove the given note from its staff. */
-void
-score_remove_note (score_note_t *note);
 
 /* Remove all notes from the given staff. */
 void
@@ -151,19 +135,6 @@ score_staff_remove_notes (score_staff_t *staff);
 void
 score_remove_notes (score_t *score);
 
-void
-score_set_note_color_rgb (score_note_t *note,
-                         double r,
-                         double g,
-                         double b);
-
-/* Return the first note on the given staff with the given pitch,
- * octave, and durations. Returns NULL if no match is found. */
-score_note_t *
-score_staff_find_note (score_staff_t *staff,
-                      pitch_t pitch,
-                      score_duration_t duration);
-
 /* Draw the given score_t onto the given cairo_t.
  *
  * The caller can call cairo_translate before calling score_draw to