]> git.donarmstrong.com Git - lilypond.git/blob - lily/include/bar-line.hh
39253a7b8d39c020063ddd3c3af2f768b4a64dab
[lilypond.git] / lily / include / bar-line.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
13 /**
14    A vertical bar.
15 */
16 class Bar_line
17 {
18 public:
19   static bool has_interface (Grob *);
20
21   static Stencil dashed_bar_line (Grob *me, Real h, Real thick);
22   static Stencil compound_barline (Grob *, string, Real height, bool rounded);
23   static Stencil simple_barline (Grob *, Real wid, Real height, bool rounded);
24   DECLARE_SCHEME_CALLBACK (calc_bar_size, (SCM));
25   DECLARE_SCHEME_CALLBACK (print, (SCM));
26 };
27 #endif // BAR_HH
28