]> git.donarmstrong.com Git - lilypond.git/blob - lily/include/script.hh
release: 1.1.51
[lilypond.git] / lily / include / script.hh
1 /*   
2   script.hh -- declare 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 SCRIPT_HH
11 #define 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 Staff_side for proper operation.  Staff_side
19    handles the positioning.
20
21 */
22 class Script : public Item
23 {
24   Staff_side_item * staff_side_l_;
25
26   Molecule get_molecule (Direction d) const;
27 public:
28   Script ();
29   void set_staff_side (Staff_side_item*);
30
31 protected:
32   virtual void do_print () const;
33   virtual void do_substitute_element_pointer (Score_element*o,
34                                               Score_element*n);
35   virtual void do_pre_processing ();
36   virtual void do_post_processing ();
37   Molecule* do_brew_molecule_p () const;
38 };
39
40 #endif /* Stem_SCRIPT_HH */
41