2 script-def.hh -- part of GNU LilyPond
4 (c) 1996,97 Han-Wen Nienhuys
10 #include "general-script-def.hh"
12 /** The characteristics of a certain kind of accent. It is not the
14 class Script_def : public General_script_def {
15 /// invert if below staff?
20 /// on the other side of the stem?
23 /// below or above staff?
26 /// how close to the note do we want to be?
29 /// follow the ball inside staff?
33 virtual int staff_dir_i()const;
34 virtual int rel_stem_dir_i()const;
35 virtual int priority_i()const;
36 virtual bool inside_b()const;
37 virtual Atom get_atom(Paper_def* p, int dir_i_)const;
38 DECLARE_MY_RUNTIME_TYPEINFO;
40 virtual bool do_equal_b(General_script_def const *)const;
41 virtual void do_print() const;
43 void set_from_input(String, bool, int, int ,bool,int );
45 VIRTUAL_COPY_CONS(Script_def,General_script_def);
53 #endif // SCRIPTDEF_HH