]> git.donarmstrong.com Git - lilypond.git/blobdiff - lily/time-signature.cc
2003 -> 2004
[lilypond.git] / lily / time-signature.cc
index 67c03a8ef31037e8d2d8d2ea3c5e8a99e01796f2..0c6292dfa23239a94b6a4504163045e727050fba 100644 (file)
@@ -1,9 +1,9 @@
 /*   
-  time-signature.cc --  implement Time_signature
+  time-signature.cc -- implement Time_signature
   
   source file of the GNU LilyPond music typesetter
   
-  (c) 1996--2003 Han-Wen Nienhuys <hanwen@cs.uu.nl>
+  (c) 1996--2004 Han-Wen Nienhuys <hanwen@cs.uu.nl>
   
  */
 
 #include "warn.hh"
 #include "staff-symbol-referencer.hh"
 
+
+/*
+  TODO:
+
+  this file should go ; The formatting can completely be done with
+  markups.
+  
+ */
+
 MAKE_SCHEME_CALLBACK (Time_signature, brew_molecule, 1);
-/* TODO: make different functions for special and normal timesigs. */
 SCM
 Time_signature::brew_molecule (SCM smob) 
 {
@@ -79,7 +87,7 @@ Time_signature::special_time_signature (Grob *me, SCM scm_style, int n, int d)
   me->set_grob_property ("font-family", ly_symbol2scm ("music"));
   Molecule out = Font_interface::get_default_font (me)
     ->find_by_name ("timesig-" + char_name);
-  if (!out.empty_b ())
+  if (!out.is_empty ())
     return out;
 
   /* If there is no such symbol, we default to the numbered style.