lilypond-0.1.16
[lilypond.git] / lily / span-score-bar.cc
blob5ad94b760dfda30d4786361497294f0f3f770d42
1 /*
2 span-score-bar.cc -- implement Span_score_bar
4 source file of the GNU LilyPond music typesetter
6 (c) 1997 Han-Wen Nienhuys <hanwen@stack.nl>
7 */
9 #include "span-score-bar.hh"
10 #include "atom.hh"
11 #include "paper-def.hh"
12 #include "lookup.hh"
14 Span_score_bar::Span_score_bar()
16 type_str_ = "|";
19 void
20 Span_score_bar::do_pre_processing()
22 Span_bar::do_pre_processing();
24 if (break_status_i() != 1)
26 set_empty (true);
27 transparent_b_ = true;
32 Atom
33 Piano_brace::get_bar_sym (Real dy) const
35 return paper()->lookup_l ()->vbrace (dy);
37 Interval
38 Piano_brace::do_width() const
40 return Interval (0,0);
44 IMPLEMENT_IS_TYPE_B1(Span_score_bar, Span_bar);
45 IMPLEMENT_IS_TYPE_B1(Piano_brace, Span_score_bar);