]> git.donarmstrong.com Git - lilypond.git/blob - lily/include/bar.hh
release: 1.3.68
[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 {
16 public:
17   VIRTUAL_COPY_CONS(Score_element);
18   Bar(SCM);
19
20   Molecule compound_barline (String, Real height) const;
21   Molecule simple_barline (Real wid, Real height) const;      
22   static SCM brew_molecule (SCM);
23   
24
25 public:
26   SCM member_before_line_breaking ();
27   static SCM before_line_breaking (SCM);
28
29   virtual Real get_bar_size () const;
30 };
31 #endif // BAR_HH
32