]> git.donarmstrong.com Git - lilypond.git/blobdiff - lily/balloon.cc
Midi2ly: add channel debugging.
[lilypond.git] / lily / balloon.cc
index 5252e88077a441977a5e6927943d85e788bd8e1f..f4efd4c4894a7b827e62b4a203a312daa8da0c28 100644 (file)
@@ -1,9 +1,20 @@
 /*
-  balloon.cc -- implement Balloon
+  This file is part of LilyPond, the GNU music typesetter.
 
-  source file of the GNU LilyPond music typesetter
+  Copyright (C) 2004--2011 Han-Wen Nienhuys <hanwen@xs4all.nl>
 
-  (c) 2004--2007 Han-Wen Nienhuys <hanwen@xs4all.nl>
+  LilyPond is free software: you can redistribute it and/or modify
+  it under the terms of the GNU General Public License as published by
+  the Free Software Foundation, either version 3 of the License, or
+  (at your option) any later version.
+
+  LilyPond is distributed in the hope that it will be useful,
+  but WITHOUT ANY WARRANTY; without even the implied warranty of
+  MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
+  GNU General Public License for more details.
+
+  You should have received a copy of the GNU General Public License
+  along with LilyPond.  If not, see <http://www.gnu.org/licenses/>.
 */
 
 #include "text-interface.hh"
@@ -31,7 +42,7 @@ Balloon_interface::print (SCM smob)
   Grob *p = me->get_parent (X_AXIS);
   
   Offset off (me->relative_coordinate (p, X_AXIS),
-            me->relative_coordinate (p, Y_AXIS));
+             me->relative_coordinate (p, Y_AXIS));
 
   Box b (p->extent (p, X_AXIS),
         p->extent (p, Y_AXIS));
@@ -46,7 +57,7 @@ Balloon_interface::print (SCM smob)
   SCM chain = Font_interface::text_font_alist_chain (me);
 
   SCM stencil = Text_interface::interpret_markup (me->layout ()->self_scm (),
-                                              chain, bt);
+                                                 chain, bt);
 
   Stencil *text_stil = unsmob_stencil (stencil);