2 script-def.hh -- part of GNU LilyPond
4 (c) 1996--1999 Han-Wen Nienhuys
10 #include "general-script-def.hh"
13 /** The characteristics of a certain kind of accent. It is not the
15 class Script_def : public General_script_def {
16 /// invert if below staff?
21 /// on the other side of the stem?
22 Direction rel_stem_dir_;
24 /// below or above staff?
27 /// how close to the note do we want to be?
30 /// follow the ball inside staff?
34 virtual Direction staff_dir() const;
35 virtual Direction rel_stem_dir() const;
36 virtual int priority_i() const;
37 virtual bool inside_b() const;
38 virtual Molecule get_molecule (Paper_def* p, Direction dir_) const;
41 virtual bool do_equal_b (General_script_def const *) const;
42 virtual void do_print() const;
44 void set_from_input (String, bool, int, int ,bool,int);
46 VIRTUAL_COPY_CONS(General_script_def);
54 #endif // SCRIPTDEF_HH