if (hang_on_clef_b_)
{
Clef_item * c = dynamic_cast<Clef_item*> (e);
- if (c && c->default_b_)
+
+
+ // urg.
+ if (c) // && c->default_b_)
{
i = c;
}
/** a beam connects multiple stems.
Beam adjusts the stems its owns to make sure that they reach the
- beam and that point in the correct direction */
+ beam and that point in the correct direction
+
+elt property:
+
+damping: amount of beam slope damping. (int)
+
+should beam slope be damped? 0: no, 1: yes, 100000: horizontal beams
+
+
+*/
class Beam : public Directional_spanner {
public:
/**
/// position of leftmost end of beam
Real left_y_;
- /// should beam slope be damped? 0: no, 1: yes, 100000: horizontal beams
- int damping_i_;
- /// should beam pos / slope be quantised? 0: no, 1: yes, 2: traditional
+
+ /** should beam pos / slope be quantised? 0: no, 1: yes, 2: traditional
+ JUNKME.
+ */
Quantisation quantisation_;
+
/// maximum number of beams (for opening-up of beam-spacing)
int multiple_i_;
TODO.
Stem size depends on flag.
+
+ elt properties:
+
+ beam_dir: direction of the beam (int)
+
+ dir_force: is direction explicitely specified? (bool)
+
*/
+// todo: remove baseclass Staff_symbol_referencer, since stem
+// can be across a staff.
class Stem : public Item, public Staff_symbol_referencer {
- Drul_array<Real> yextent_drul_;
/**extent of the stem (positions).
fractional, since Beam has to adapt them.
*/
-
+ Drul_array<Real> yextent_drul_;
/**
geen gedonder, jij gaat onder.
/// direction stem (that's me)
Direction dir_;
- /// is direction explicitely specified?
- bool dir_forced_b_;
- /// direction of the beam
- Direction beam_dir_;
Stem ();
/// ensure that this Stem also encompasses the Notehead #n#