]> git.donarmstrong.com Git - lilypond.git/blobdiff - lily/balloon.cc
Add version numbers to fretboard files.
[lilypond.git] / lily / balloon.cc
index 03477d9ba4c80536fcb14efbf1959ab2b3f8777b..5252e88077a441977a5e6927943d85e788bd8e1f 100644 (file)
@@ -3,7 +3,7 @@
 
   source file of the GNU LilyPond music typesetter
 
-  (c) 2004--2006 Han-Wen Nienhuys <hanwen@xs4all.nl>
+  (c) 2004--2007 Han-Wen Nienhuys <hanwen@xs4all.nl>
 */
 
 #include "text-interface.hh"
@@ -19,7 +19,7 @@ class Balloon_interface
 {
 public:
   DECLARE_SCHEME_CALLBACK (print, (SCM));
-  static bool has_interface (Grob *);
+  DECLARE_GROB_INTERFACE ();
 };
 
 MAKE_SCHEME_CALLBACK (Balloon_interface, print, 1);
@@ -30,7 +30,7 @@ Balloon_interface::print (SCM smob)
 
   Grob *p = me->get_parent (X_AXIS);
   
-  Offset off(me->relative_coordinate (p, X_AXIS),
+  Offset off (me->relative_coordinate (p, X_AXIS),
             me->relative_coordinate (p, Y_AXIS));
 
   Box b (p->extent (p, X_AXIS),
@@ -69,8 +69,9 @@ Balloon_interface::print (SCM smob)
   return fr.smobbed_copy ();
 }
 
-ADD_INTERFACE (Balloon_interface, "text-balloon-interface",
-              "A collection of routines to put text balloons around an object.",
+ADD_INTERFACE (Balloon_interface,
+              "A collection of routines to put text balloons around an"
+              " object.",
 
               /* properties */
               "padding "