]> git.donarmstrong.com Git - lilypond.git/blob - lily/include/tuplet-spanner.hh
patch::: 1.1.37.script1
[lilypond.git] / lily / include / tuplet-spanner.hh
1 /*
2   plet-spanner.hh -- part of GNU LilyPond
3
4   (c)  1997--1999 Jan Nieuwenhuizen <janneke@gnu.org>
5 */
6
7 #ifndef Tuplet_spanner_HH
8 #define Tuplet_spanner_HH
9
10 #include "pointer.hh"
11 #include "directional-spanner.hh"
12
13 /** supportable plet: triplets, eentweetjes, ottava, etc.  */
14
15 class Tuplet_spanner : public Directional_spanner
16 {
17 public:
18   Tuplet_spanner ();
19  
20   void add_column (Note_column*);
21   void set_beam (Beam*);
22   
23
24   String  number_str_;
25   /*
26     junk us.
27    */
28   bool bracket_visibility_b_;
29   bool num_visibility_b_;
30   
31 protected:
32   Beam *beam_l_;
33   Link_array<Note_column> column_arr_;
34
35   virtual Molecule* do_brew_molecule_p () const;
36   VIRTUAL_COPY_CONS(Score_element);
37
38   virtual void do_add_processing ();
39   virtual void do_post_processing ();
40   virtual void set_default_dir ();
41   virtual void do_substitute_element_pointer (Score_element*,Score_element*);
42 };
43
44 #endif // Tuplet_spanner_HH
45