lilypond-0.1.27
[lilypond.git] / hdr / script.hh
blobdf408f04354b54c9b0550792a8882da0419f5b0b
1 /*
2 script.hh -- part of LilyPond
4 (c) 1996,97 Han-Wen Nienhuys
5 */
7 #ifndef SCRIPT_HH
8 #define SCRIPT_HH
10 #include "script-def.hh"
11 #include "item.hh"
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;
22 /* *************** */
23 NAME_MEMBERS(Script);
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;
40 #endif // SCRIPT_HH