]> git.donarmstrong.com Git - lilypond.git/blob - lily/include/script.hh
release: 0.1.11
[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     Stem *stem_l_;
19
20 protected:
21     Molecule *brew_molecule_p() const;
22     virtual void do_substitute_dependency (Score_elem*,Score_elem*);
23     virtual void do_print() const;
24     virtual Interval symbol_height() const;
25     virtual void do_pre_processing();
26     virtual Interval do_width() const;
27     SCORE_ELEM_CLONE(Script);
28 private:
29
30     void set_default_dir();
31 public:
32     General_script_def *specs_l_;
33     
34     static int compare (Script  *const&, Script *const&) ;
35     Script();
36     void set_stem (Stem*);
37     DECLARE_MY_RUNTIME_TYPEINFO;
38
39 };
40
41
42 #endif // SCRIPT_HH
43