]> git.donarmstrong.com Git - lilypond.git/blobdiff - lily/include/span-bar.hh
release: 1.1.33
[lilypond.git] / lily / include / span-bar.hh
index aa461fe1c49ae8a580b7a92fc916afd177859260..42a2937cbf1fd6fdbeab1a018a7f65158f95c13b 100644 (file)
 
 #include "bar.hh"
 
+/**
+   This is a barline that is spanned across other bar lines.  This is
+   the implementation of the long barlines that occur in orchestral
+   score and other multi-staff music.
+
+   TODO: Is this usable for other stuff besides barlines? We only have
+   to span a Score_element.  Perhaps this can be used for large time
+   sigs?
+*/
 class Span_bar : public Bar
 {
   Link_array<Score_element> spanning_l_arr_;
@@ -22,9 +31,8 @@ public:
   Span_bar();
     
   VIRTUAL_COPY_CONS(Score_element);
-  void add_bar (Bar*);
+  void add_bar (Score_element*);
   void set_align (Align_element *);
-
 protected:
   void evaluate_empty ();
   virtual Interval do_width() const;