]> git.donarmstrong.com Git - lilypond.git/blobdiff - lily/lookup.cc
patch::: 1.1.23.ms2
[lilypond.git] / lily / lookup.cc
index 2b73a7ba82fc833f8d46b450d2434be4ace84d9d..f777dee42aa1a0f0aaf1407ad4c6edd79d9bf550 100644 (file)
@@ -122,6 +122,15 @@ Lookup::ball (int j) const
   return afm_find (String ("balls") + String ("-") + to_str (j));
 }
 
+Atom
+Lookup::special_ball (int j, String kind_of_ball) const
+{
+  if (j > 2)
+    j = 2;
+
+  return afm_find (String ("balls") + String ("-") + kind_of_ball);
+}
+
 Atom
 Lookup::bar (String str, Real h) const
 {