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