]> git.donarmstrong.com Git - lilypond.git/blob - lily/include/bar.hh
72b2f1957fb65eecf677434f5e27fdfd98b273f1
[lilypond.git] / lily / include / bar.hh
1 /*
2   bar.hh -- part of GNU LilyPond
3
4   (c) 1996--2007 Han-Wen Nienhuys
5 */
6
7 #ifndef BAR_HH
8 #define BAR_HH
9
10 #include "lily-proto.hh"
11 #include "grob-interface.hh"
12
13 /**
14    A vertical bar.
15 */
16 class Bar
17 {
18 public:
19   DECLARE_GROB_INTERFACE();
20
21   static Stencil compound_barline (Grob *, string, Real height);
22   static Stencil simple_barline (Grob *, Real wid, Real height);
23   DECLARE_SCHEME_CALLBACK (get_staff_bar_size, (SCM));
24   DECLARE_SCHEME_CALLBACK (print, (SCM));
25   DECLARE_SCHEME_CALLBACK (before_line_breaking, (SCM));
26 };
27 #endif // BAR_HH
28