]> git.donarmstrong.com Git - lilypond.git/blobdiff - lily/include/base-span-bar-engraver.hh
release: 1.3.5
[lilypond.git] / lily / include / base-span-bar-engraver.hh
index 6d8ddf71eda67d124b64023a626e2d90f7ca2ed7..b4caf237d0cc572bf0da408b03758cc6a6d30822 100644 (file)
@@ -3,7 +3,7 @@
 
   source file of the GNU LilyPond music typesetter
 
-  (c)  1997--1998 Han-Wen Nienhuys <hanwen@cs.uu.nl>
+  (c)  1997--1999 Han-Wen Nienhuys <hanwen@cs.uu.nl>
 */
 
 
 #define SPAN_BAR_GRAV_HH
 
 #include "engraver.hh"
-
+class Axis_align_spanner;
 /** 
 
   Make bars that span multiple "staffs". Catch bars, and span a
-  Span_bar over them if we find more than 2 bars
+  Span_bar over them if we find more than 2 bars.  Vertical alignment
+  of staffs changes the appearance of spanbars.  It is up to the
+  aligner (Vertical_align_engraver, in this case, to add extra
+  dependencies to the spanbars.
 
   */
 class Base_span_bar_engraver : public Engraver
 {
   Span_bar * spanbar_p_;
   Array<Bar*> bar_l_arr_;
-  Vertical_align_spanner * valign_l_;
+
 public:
   VIRTUAL_COPY_CONS(Translator);
   
@@ -34,7 +37,6 @@ protected:
     horizontal alignment priority, otherwise, hang the spanbar on the
     acknowledged bar.  */
   bool use_priority_b_;
-  int break_priority_i_;
   
   virtual void acknowledge_element (Score_element_info);
   virtual void do_pre_move_processing();