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