]> git.donarmstrong.com Git - lilypond.git/blob - lily/include/script.hh
release: 1.1.29
[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_dependency (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   bool postbreak_only_b_;
33     
34   static int compare (Script  *const&, Script *const&) ;
35   Script();
36   ~Script ();
37   Script (Script const&);
38    
39   void set_stem (Stem*);
40   
41 };
42
43
44 #endif // SCRIPT_HH
45