]> git.donarmstrong.com Git - lilypond.git/blob - lily/include/script.hh
release: 0.0.70pre
[lilypond.git] / lily / include / script.hh
1 /*
2   script.hh -- part of GNU LilyPond
3
4   (c) 1996,97 Han-Wen Nienhuys
5 */
6
7 #ifndef SCRIPT_HH
8 #define SCRIPT_HH
9
10 #include "staff-side.hh"
11 #include "item.hh"
12   
13 /**
14   Accents that are put over a note-group.
15  */
16 class Script : public Item, public Staff_side {
17     
18     int pos_i_;
19     
20     Stem *stem_l_;
21
22     /* *************** */
23 protected:
24     Molecule *brew_molecule_p()const;
25     virtual void do_substitute_dependency(Score_elem*,Score_elem*);
26     virtual void do_print() const;
27     virtual void do_post_processing();
28     virtual void do_pre_processing();
29     virtual Interval do_width() const;
30 private:
31
32     void set_default_dir();
33     void set_default_index();
34     Symbol symbol()const;
35 public:
36     General_script_def *specs_l_;
37     
38     static int compare(Script  *const&, Script *const&) ;
39     Script();
40     void set_stem(Stem*);
41     NAME_MEMBERS();
42
43 };
44
45
46 #endif // SCRIPT_HH
47