]> git.donarmstrong.com Git - lilypond.git/blobdiff - scm/interface.scm
release: 1.3.116
[lilypond.git] / scm / interface.scm
index 38cacd00fd0c956b1eb55ce469269c244f55080e..565ef7d9594f4958aea80c2c38d21bf97a71c534 100644 (file)
@@ -17,8 +17,8 @@
   )
 
 
-(define (element-description name . interfaces)
-  (let* ((ifs (cons general-element-interface interfaces))
+(define (grob-description name . interfaces)
+  (let* ((ifs (cons general-grob-interface interfaces))
         (props (map caddr ifs))
 ;       (prop-typep-pairs (map (lambda (x) (cons (car x) (cadr x)))
 ;                                      (apply append props)))
          (cons 'interfaces syms)
          (cons 'interface-descriptions ifs)
          ; (cons 'interface-descriptions (cadr merged))
-         ;; description of the element itself?
+         ;; description of the grob itself?
 ;        (cons 'properties prop-typep-pairs)
   )))
 
-(define general-element-interface
+(define general-grob-interface
   (lily-interface
-   'general-element-interface
-   "All elements support this"
+   'general-grob-interface
+   "All grobs support this"
    '(
     X-offset-callbacks 
     Y-offset-callbacks 
@@ -94,7 +94,7 @@
 (define axis-group-interface
   (lily-interface
    'axis-group-interface
-   "a group of coupled elements"
+   "a group of coupled grobs"
    '(
     axes 
    )))
 (define line-of-score-interface
   (lily-interface
    'line-of-score-interface
-   "Super element, parent of all:
+   "Super grob, parent of all:
 
-The columns of a score that form one line.  The toplevel element.  Any
-element has a Line_of_score as both X and Y reference point. The
-Paper_score contains one element of this type. Control enters the
+The columns of a score that form one line.  The toplevel grob.  Any
+grob has a Line_of_score as both X and Y reference point. The
+Paper_score contains one grob of this type. Control enters the
 Grob dependency calculation from this single Line_of_score
 object."
    '(
@@ -260,7 +260,7 @@ object."
 (define align-interface
   (lily-interface
    'align-interface
-   " Order elements top to bottom/left to right/right to left etc."
+   " Order grobs top to bottom/left to right/right to left etc."
    '(
     stacking-dir  
     align-dir  
@@ -440,7 +440,7 @@ font-point-size font-relative-size)
 (define separation-spanner-interface
   (lily-interface
    'separation-spanner-interface
-   "Spanner that containing @code{separation-item-interface} elements to calculate rods"
+   "Spanner that containing @code{separation-item-interface} grobs to calculate rods"
    '()
   ))
 (define text-script-interface
@@ -466,11 +466,8 @@ font-point-size font-relative-size)
   we don't contain any interesting items after linebreaking, then
   gracefully commit suicide.  Objective: don't disgrace Lily by
   typesetting empty lines in orchestral scores."
-   '(
-    items-worth-living 
-
-
-    )))
+   '( items-worth-living )
+))
 
 (define line-spanner-interface
   (lily-interface
@@ -478,12 +475,7 @@ font-point-size font-relative-size)
    "Generic line drawn between two objects, eg. for use with glissandi.
 gap is measured in staff-spaces.   "
 
-   '(gap 
-    dash-period 
-    dash-length 
-    line-thickness 
-    type 
-    )
+   '(gap dash-period dash-length line-thickness type )
    ))
 
 (define lyric-hyphen-interface
@@ -562,7 +554,7 @@ contains-grace extra-space stretch-distance ))
 (define spaceable-element-interface
   (lily-interface
    'spaceable-element-interface
-   "An element (generally a Paper_column) that takes part in the
+   "An grob (generally a Paper_column) that takes part in the
 spacing problem. "
    '(
      minimum-distances 
@@ -675,7 +667,7 @@ position 0."
    "Item that computes widths to generate spacing rods.
 
 Calc dimensions for the Separating_group_spanner; this has to be
-   an item to get dependencies correct.  It can't be an element_group
+   an item to get dependencies correct.  It can't be an grob_group
    since these usually are in a different X_group
 "
    '(