]> git.donarmstrong.com Git - lilypond.git/blob - lily/include/g-script.hh
f1309638ad88e6d46c925c89eaa1379c51982b71
[lilypond.git] / lily / include / g-script.hh
1 /*   
2   g-script.hh -- declare G_script
3   
4   source file of the GNU LilyPond music typesetter
5   
6   (c) 1999 Han-Wen Nienhuys <hanwen@cs.uu.nl>
7   
8  */
9
10 #ifndef G_STEM_SCRIPT_HH
11 #define G_STEM_SCRIPT_HH
12
13 #include "item.hh"
14 #include "drul-array.hh"
15
16 /**
17    articulation marks (and the like) that are attached to notes/stems.
18    Needs support from G_staff_side for proper operation.
19  */
20 class G_script : public Item
21 {
22   G_staff_side_item * staff_side_l_;
23
24   Molecule get_molecule (Direction d) const;
25 public:
26   Drul_array<String> indices_drul_;
27   G_script ();
28   void set_staff_side (G_staff_side_item*);
29
30 protected:
31   virtual void do_substitute_element_pointer (Score_element*o,
32                                               Score_element*n);
33   virtual void do_pre_processing ();
34   virtual void do_post_processing ();
35   Molecule* do_brew_molecule_p () const;
36 };
37
38 #endif /* G_STEM_SCRIPT_HH */
39