]> git.donarmstrong.com Git - lilypond.git/blobdiff - lily/script-interface.cc
* buildscripts/gen-emmentaler-scripts.py (outdir): capitalize
[lilypond.git] / lily / script-interface.cc
index 76dfb902ee45bfa4bbf0a16a5a9e4970c528a80f..2c37d1a5557d8a88f37802e8da362e495f21fd25 100644 (file)
@@ -3,7 +3,7 @@
   
   source file of the GNU LilyPond music typesetter
   
-  (c) 1999--2004 Han-Wen Nienhuys <hanwen@cs.uu.nl>
+  (c) 1999--2005 Han-Wen Nienhuys <hanwen@cs.uu.nl>
   
  */
 
@@ -13,8 +13,6 @@
 #include "font-interface.hh"
 #include "side-position-interface.hh"
 #include "output-def.hh"
-#include "item.hh"
-#include "stencil.hh"
 #include "lookup.hh"
 #include "stem.hh"
 #include "note-column.hh"
@@ -32,7 +30,7 @@ Script_interface::get_stencil (Grob *me, Direction d)
       SCM str = ((scm_is_pair (name_entry)) ? index_get_cell (name_entry, d)
                 : name_entry);
       return Font_interface::get_default_font (me)
-       ->find_by_name ("scripts-" + ly_scm2string (str));
+       ->find_by_name ("scripts." + ly_scm2string (str));
     }
   else if (key == ly_symbol2scm ("accordion"))
     return Lookup::accordion (scm_cdr (s), 1.0,
@@ -74,7 +72,7 @@ MAKE_SCHEME_CALLBACK (Script_interface, print, 1);
 SCM
 Script_interface::print (SCM smob)
 {
-  Grob *me= unsmob_grob (smob);
+  Grob *me = unsmob_grob (smob);
 
   Direction dir = Side_position_interface::get_direction (me);
   if (!dir)
@@ -90,7 +88,7 @@ struct Text_script
   static bool has_interface (Grob*);
 };
 
-ADD_INTERFACE (Text_script,"text-script-interface",
+ADD_INTERFACE (Text_script, "text-script-interface",
   "An object that is put above or below a note",
   "add-stem-support slur script-priority inside-slur");