]> git.donarmstrong.com Git - lilypond.git/blob - lily/include/volta-spanner.hh
5517287fc1a4a70f39a43099c0b27fe5662e7937
[lilypond.git] / lily / include / volta-spanner.hh
1 /*
2   volta-spanner.hh -- part of GNU LilyPond
3
4   (c) 1997--1999 Jan Nieuwenhuizen <janneke@gnu.org>
5 */
6
7 #ifndef VOLTA_SPANNER_HH
8 #define VOLTA_SPANNER_HH
9
10 #include "text-def.hh"
11 #include "pointer.hh"
12 #include "spanner.hh"
13
14 /** Volta bracket with number */
15
16 class Volta_spanner : public Spanner
17 {
18 public:
19   Volta_spanner ();
20  
21   void add_column (Note_column*);
22   void add_column (Bar*);
23  
24   P<Text_def>  number_p_;
25   Link_array<Bar> column_arr_;
26   Link_array<Note_column> note_column_arr_;
27   bool last_b_;
28   bool visible_b_;
29  
30 protected:
31   virtual Molecule* do_brew_molecule_p () const;
32   VIRTUAL_COPY_CONS (Score_element);
33
34   virtual void do_add_processing ();
35   virtual Interval do_height () const;
36   virtual void do_post_processing ();
37   virtual void do_substitute_dependency (Score_element*,Score_element*);
38 };
39
40 #endif // VOLTA_SPANNER_HH
41