lilypond-1.5.10
[lilypond.git] / lily / include / g-script.hh
blob3ee811f3fe8aa0ba808d9e85d71fc14324d2763f
1 /*
2 g-script.hh -- declare G_script
4 source file of the GNU LilyPond music typesetter
6 (c) 1999 Han-Wen Nienhuys <hanwen@cs.uu.nl>
8 */
10 #ifndef G_STEM_SCRIPT_HH
11 #define G_STEM_SCRIPT_HH
13 #include "item.hh"
14 #include "drul-array.hh"
16 /**
17 Articulation marks (and the like) that are attached to notes/stems.
18 Needs support from G_staff_side for proper operation. G_staff_side
19 handles the positioning.
22 class G_script : public Item
24 G_staff_side_item * staff_side_l_;
26 Molecule get_molecule (Direction d) const;
27 public:
28 G_script ();
29 void set_staff_side (G_staff_side_item*);
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;
40 #endif /* G_STEM_SCRIPT_HH */