]> git.donarmstrong.com Git - lilypond.git/blob - lily/include/script.hh
patch::: 1.1.37.mb2: Re: LilyPond 1.1.37
[lilypond.git] / lily / include / script.hh
1 /*
2   script.hh -- part of GNU LilyPond
3
4   (c) 1996--1999 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   Stem *stem_l_;
18
19 protected:
20   Molecule *do_brew_molecule_p() const;
21   virtual void do_substitute_element_pointer (Score_element*,Score_element*);
22   virtual void do_print() const;
23   virtual Interval symbol_height() const;
24   virtual void do_pre_processing();
25   virtual Interval do_width() const;
26   VIRTUAL_COPY_CONS(Score_element);
27 private:
28
29   void set_default_dir();
30 public:
31   General_script_def *specs_p_;
32
33   static int compare (Script  *const&, Script *const&) ;
34   Script();
35   ~Script ();
36   Script (Script const&);
37    
38   void set_stem (Stem*);
39 };
40
41
42 #endif // SCRIPT_HH
43