]> git.donarmstrong.com Git - lilypond.git/blob - lily/include/bar.hh
release: 1.3.33
[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();
18
19   Molecule staff_bracket (Real height) const;
20   Molecule staff_brace (Real height) const;
21   Molecule compound_barline (String, Real height) const;
22   Molecule simple_barline (Real wid, Real height) const;      
23
24 protected:
25   virtual void before_line_breaking ();
26   virtual Molecule  do_brew_molecule () const;
27   virtual Real get_bar_size () const;
28 };
29 #endif // BAR_HH
30