]> git.donarmstrong.com Git - lilypond.git/blob - hdr/script.hh
release: 0.0.37
[lilypond.git] / hdr / script.hh
1 /*
2   script.hh -- part of LilyPond
3
4   (c) 1996,97 Han-Wen Nienhuys
5 */
6
7 #ifndef SCRIPT_HH
8 #define SCRIPT_HH
9
10 #include "scriptdef.hh"
11 #include "item.hh"
12   
13 struct Script : Item {
14     int dir;
15     int symdir;
16     int pos;
17     int staffsize;
18     Script_def *specs_l_;
19     Stem *stem_l_;
20     Array<Item *> support;
21
22     /* *************** */
23     const char * name() const;    
24     Molecule*   brew_molecule_p()const;
25     virtual void do_post_processing();
26     virtual void do_pre_processing();
27     Script(Script_req*, int staffsize);
28     void set_support(Item*);
29     void set_stem(Stem*);
30     Interval support_height()const;
31     virtual Interval width() const;
32 private:
33     void        set_symdir();
34     void        set_default_dir();
35     void        set_default_index();
36     Symbol symbol()const;
37 };
38
39
40 #endif // SCRIPT_HH
41