]> git.donarmstrong.com Git - lilypond.git/blob - lily/include/multi-measure-rest.hh
Run `make grand-replace'.
[lilypond.git] / lily / include / multi-measure-rest.hh
1 /*
2   multi-measure-rest.hh -- declare Multi_measure_rest
3
4   source file of the GNU LilyPond music typesetter
5
6   (c) 1998--2008 Jan Nieuwenhuizen <janneke@gnu.org>
7 */
8
9 #ifndef MULTI_MEASURE_REST_HH
10 #define MULTI_MEASURE_REST_HH
11
12 #include "grob-interface.hh"
13 #include "rod.hh"
14
15 class Multi_measure_rest
16 {
17 public:
18   DECLARE_GROB_INTERFACE();
19   DECLARE_SCHEME_CALLBACK (print, (SCM));
20   DECLARE_SCHEME_CALLBACK (percent, (SCM));
21   static void add_column (Grob *, Item *);
22   DECLARE_SCHEME_CALLBACK (set_spacing_rods, (SCM));
23   DECLARE_SCHEME_CALLBACK (set_text_rods, (SCM));
24   DECLARE_SCHEME_CALLBACK (centered_stencil, (SCM));
25
26
27   static void calculate_spacing_rods (Grob *me, Real length);
28   static Stencil big_rest (Grob *, Real);
29   static Stencil symbol_stencil (Grob *, Real);
30   static Stencil church_rest (Grob *, Font_metric *, int, Real);
31   static Interval bar_width (Spanner *me);
32 };
33
34 #endif /* MULTI_MEASURE_REST_HH */
35