]> git.donarmstrong.com Git - lilypond.git/blob - lily/include/script-def.hh
release: 0.0.65
[lilypond.git] / lily / include / script-def.hh
1 /*
2   script-def.hh -- part of GNU LilyPond
3
4   (c) 1996,97 Han-Wen Nienhuys
5 */
6
7 #ifndef SCRIPTDEF_HH
8 #define SCRIPTDEF_HH
9 #include "string.hh"
10
11 /** The characteristics of a certain kind of accent. It is not the
12   accent itself.  */
13 struct Script_def {
14
15     /// on the other side of the stem?
16     int rel_stem_dir_i_;
17
18     /// below or above staff?
19     int staff_dir_i_;
20
21     /// how close to the note do we want to be?
22     int priority_i_;
23     
24     /// follow the ball inside staff?
25     bool inside_staff_b_;
26
27     /// invert if below staff?
28     bool invertsym_b_;
29     String symidx;
30
31     /* *************** */
32     int compare(Script_def const &);
33     void print() const;
34     Script_def(String, bool, int, int ,bool);
35 };
36
37
38 #endif // SCRIPTDEF_HH
39