X-Git-Url: https://git.donarmstrong.com/?a=blobdiff_plain;f=lily%2Fballoon.cc;h=5252e88077a441977a5e6927943d85e788bd8e1f;hb=c1aeb638eb777b641e5de7ca775ae3b497f91bc0;hp=03477d9ba4c80536fcb14efbf1959ab2b3f8777b;hpb=b53ca26b6a62e30c75b758d17bcdab530cba1e2b;p=lilypond.git diff --git a/lily/balloon.cc b/lily/balloon.cc index 03477d9ba4..5252e88077 100644 --- a/lily/balloon.cc +++ b/lily/balloon.cc @@ -3,7 +3,7 @@ source file of the GNU LilyPond music typesetter - (c) 2004--2006 Han-Wen Nienhuys + (c) 2004--2007 Han-Wen Nienhuys */ #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 "