/* Write midi as formatted ascii stream? */
bool do_midi_debugging_global;
bool use_object_keys;
+bool debug_skylines;
/*
Backwards compatibility.
strict_infinity_checking = to_boolean (val);
val = scm_from_bool (to_boolean (val));
}
+ else if (var == ly_symbol2scm ("debug-skylines"))
+ {
+ debug_skylines = to_boolean (val);
+ val = scm_from_bool (to_boolean (val));
+ }
}
ssize const HELP_INDENT = 30;
#include "tweak-registration.hh"
#include "warn.hh"
+extern bool debug_skylines;
+
System::System (System const &src, int count)
: Spanner (src, count)
{
Stencil sys_stencil (Box (x, y),
scm_cons (ly_symbol2scm ("combine-stencil"),
exprs));
+ if (debug_skylines)
+ {
+ sys_stencil.add_stencil (skylines_[UP].stencil ().in_color (255, 0, 0));
+ sys_stencil.add_stencil (skylines_[DOWN].stencil ().in_color (0, 255, 0));
+ }
Grob *left_bound = this->get_bound (LEFT);
SCM prop_init = left_bound->get_property ("line-break-system-details");
(debug-lexer #f "debug the flex lexer")
(debug-midi #f "generate human readable MIDI")
(debug-parser #f "debug the bison parser")
+ (debug-skylines #f "debug skylines")
(delete-intermediate-files #f
"delete unusable PostScript files")
(dump-signatures #f "dump output signatures of each system")