summaryrefslogtreecommitdiff
path: root/lily/include/script-def.hh
diff options
context:
space:
mode:
Diffstat (limited to 'lily/include/script-def.hh')
-rw-r--r--lily/include/script-def.hh23
1 files changed, 18 insertions, 5 deletions
diff --git a/lily/include/script-def.hh b/lily/include/script-def.hh
index 8d9528b45a..9af312bfa4 100644
--- a/lily/include/script-def.hh
+++ b/lily/include/script-def.hh
@@ -8,17 +8,30 @@
#define SCRIPTDEF_HH
#include "string.hh"
-struct Script_def{
- int stemdir;
- int staffdir;
+/** The characteristics of a certain kind of accent. It is not the
+ accent itself. */
+struct Script_def {
- bool invertsym;
+ /// on the other side of the stem?
+ int rel_stem_dir_i_;
+
+ /// below or above staff?
+ int staff_dir_i_;
+
+ /// how close to the note do we want to be?
+ int priority_i_;
+
+ /// follow the ball inside staff?
+ bool inside_staff_b_;
+
+ /// invert if below staff?
+ bool invertsym_b_;
String symidx;
/* *************** */
int compare(Script_def const &);
void print() const;
- Script_def(String, int, int ,bool);
+ Script_def(String, bool, int, int ,bool);
};