]> git.donarmstrong.com Git - lilypond.git/blob - lily/include/bar.hh
release: 1.3.55
[lilypond.git] / lily / include / bar.hh
1 /*
2   bar.hh -- part of GNU LilyPond
3
4   (c) 1996--2000 Han-Wen Nienhuys
5 */
6
7 #ifndef BAR_HH
8 #define BAR_HH
9 #include "item.hh"
10
11 /**
12   A vertical bar.
13  */
14 class Bar:public Item {
15 public:
16   VIRTUAL_COPY_CONS(Score_element);
17   Bar(SCM);
18
19   Molecule compound_barline (String, Real height) const;
20   Molecule simple_barline (Real wid, Real height) const;      
21
22 protected:
23   virtual void before_line_breaking ();
24   virtual Molecule  do_brew_molecule () const;
25   virtual Real get_bar_size () const;
26 };
27 #endif // BAR_HH
28