]> git.donarmstrong.com Git - lilypond.git/commitdiff
remove vestiges of old balloon code.
authorHan-Wen Nienhuys <hanwen@xs4all.nl>
Sun, 5 Nov 2006 23:39:49 +0000 (00:39 +0100)
committerHan-Wen Nienhuys <hanwen@xs4all.nl>
Sun, 5 Nov 2006 23:39:49 +0000 (00:39 +0100)
scm/define-grob-properties.scm
scm/music-functions.scm

index 029d73c58f7fdaa0a4c2a0cc47d4bbfee2ec7868..cedfe092dfcc27b91584c3820cf05108b1b2f3de 100644 (file)
@@ -48,16 +48,6 @@ where a horizontal beam fits that is larger than this number, make a kneed beam.
      (axes ,list? "list of axis numbers.
 In the case of alignment grobs, this should contain only one number.")
 
-     (balloon-text ,markup? "Text to add to help balloon")
-     (balloon-text-props ,list? "Font properties
-for balloon text.")
-     (balloon-text-offset ,number-pair?
-                         "Where to put text relative to balloon.")
-     (balloon-padding ,ly:dimension? "Text to add to help balloon")
-     (original-stencil ,ly:stencil? "The
-original stencil drawer to draw the balloon around.")
-
-
      (bar-size ,ly:dimension? "size of a bar line.")
      (barre-type ,symbol? "Type of barre indication used in a fret diagram.
 Choices include @code{curved} and @code{straight}.")
index 86d2f2e0ddd5a509acc3e900ed40ac46e511225d..69dd59e68ea7fdaae20708ffe7efec98fc4e945d 100644 (file)
@@ -839,23 +839,6 @@ if appropriate.
   (music-map apply-duration lyric-music))
 
 
-;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;
-;;
-
-(define-public ((add-balloon-text object-name text off) grob orig-context cur-context)
-  "Usage: see input/regression/balloon.ly "
-  (let* ((meta (ly:grob-property grob 'meta))
-        (cb (ly:grob-property-data grob 'stencil))
-        (nm (if (pair? meta) (cdr (assoc 'name meta)) "nonexistant")))
-    (if (and (equal? nm object-name)
-            (procedure? cb))
-       (begin
-         (ly:grob-set-property! grob 'stencil  ly:balloon-interface::print)
-         (set! (ly:grob-property grob 'original-stencil) cb)
-         (set! (ly:grob-property grob 'balloon-text) text)
-         (set! (ly:grob-property grob 'balloon-text-offset) off)
-         (set! (ly:grob-property grob 'balloon-text-props) '((font-family . roman)))))))
-
 ;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;
 ;; accidentals