int staff_size_i_;
int dots_i_;
int balltype_i_;
+ int dot_delta_y_i_;
int x_dir_i_;
/* *************** */
position of top line (5 linestaff: 8)
*/
Note_head(int staff_size);
+ void set_dots();
static int compare(Note_head * const &a, Note_head *const &b) ;
protected:
virtual void do_print()const;
return ball(4).dim.y.length()/2;
}
+Real
+Lookup::interbeam_f() const
+{
+ /*
+ [todo]
+ * runtime
+
+ "french" style: interbeam = intenote;
+ "german" style: interbeam = 2/3 * interline
+
+ as lily's style is currently german, we'll hardcode german style
+ */
+ // it seems that "interline" means _between_ lines
+// return ball(4).dim.y.length() * 2 / 3;
+ return ball(4).dim.y.length() * 2 / 3 + 0.4; //ugh
+}
+
Symbol
Lookup::ball(int j) const
{
}
Symbol
-Lookup::rest(int j) const
+Lookup::rest(int j, bool o) const
{
- return (*symtables_)("rests")->lookup(String(j));
+ return (*symtables_)("rests")->lookup(String(j) + (o ? "o" : "") );
}
Symbol