]> git.donarmstrong.com Git - lilypond.git/blob - lily/include/script.hh
0204e811120f6318855f94d5e8eec0c385ba7476
[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--2000 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 class Script : public Item
22 {
23   Molecule get_molecule (Direction d) const;
24 public:
25   Script (SCM);
26    static SCM scheme_molecule (SCM);
27   
28
29 protected:
30   virtual void before_line_breaking ();
31   virtual void after_line_breaking ();
32   Molecule do_brew_molecule () const;
33 };
34
35 #endif /* Stem_SCRIPT_HH */
36