]> git.donarmstrong.com Git - lilypond.git/blobdiff - lily/span-score-bar.cc
patch::: 1.1.25.jcn1: jcn1
[lilypond.git] / lily / span-score-bar.cc
index a7592d532056ce3711d9d7d0f347a134359e7f6c..0e80464e42892a82d1e87e5c8dc0854dcd90c0ad 100644 (file)
@@ -3,44 +3,30 @@
 
   source file of the GNU LilyPond music typesetter
 
-  (c) 1997 Han-Wen Nienhuys <hanwen@stack.nl>
+  (c)  1997--1998 Han-Wen Nienhuys <hanwen@cs.uu.nl>
 */
 
 #include "span-score-bar.hh"
-#include "symbol.hh"
+#include "atom.hh"
 #include "paper-def.hh"
 #include "lookup.hh"
+#include "main.hh"
 
 Span_score_bar::Span_score_bar()
 {
-  type_str_ = "|";
 }
 
+
 void
 Span_score_bar::do_pre_processing()
 {
-  Span_bar::do_pre_processing();
-  
-  if ( break_status_i() != 1) 
-    {
-       empty_b_ = transparent_b_ = true;
-    }
-}
-
-
-Symbol
-Piano_brace::get_bar_sym (Real dy)const
-{
-  return paper()->lookup_l ()->vbrace (dy);
-}
-Interval
-Piano_brace::do_width()const
-{
-  return Interval (0,0);
+  /*
+    duh.  The order of these two is subtle. 
+   */
+  Score_bar::do_pre_processing ();
+  //  Span_bar::do_pre_processing();
 }
 
 
-IMPLEMENT_IS_TYPE_B1(Span_score_bar, Span_bar);
-IMPLEMENT_IS_TYPE_B1(Piano_brace, Span_score_bar);