]> git.donarmstrong.com Git - lilypond.git/blobdiff - lily/note-column.cc
Brown paper bag: undo accidently deletion of regtest.
[lilypond.git] / lily / note-column.cc
index 380182f85623cd74fca631b1d04a4715bc02fcf1..3f57d3e63c888b09fb564849aa3809b4307366b3 100644 (file)
@@ -181,6 +181,20 @@ Note_column::accidentals (Grob *me)
   return acc;
 }
 
+Grob *
+Note_column::dot_column (Grob *me)
+{
+  extract_grob_set (me, "note-heads", heads);
+  for (vsize i = 0; i < heads.size (); i++)
+    {
+      Grob *dots = unsmob_grob (heads[i]->get_object ("dot"));
+      if (dots)
+       return dots->get_parent (X_AXIS);
+    }
+  
+  return 0;
+}
+
 Grob *
 Note_column::arpeggio (Grob *me)
 {