From ee513a2f7d18fc8d43e1c291350ed81856b0192d Mon Sep 17 00:00:00 2001 From: Han-Wen Nienhuys Date: Mon, 20 Mar 2000 13:53:27 +0100 Subject: release: 1.3.37 =========== * Abstract Align_element into Align_interface. Removed Axis_align_{item,spanner}, Align_element, Super_element, all multiple inheritance in the backend. * new Gade score, INSTALL.texi fixes (thanks, Mats) * Removed Item::hpos_f (), Score_element::{get,set}_real () * comments detailing properties for Axis_group_interface, Side_position_interface, Score_element, Item and Spanner 1.3.36.j --- lily/item.cc | 23 +++++++++++------------ 1 file changed, 11 insertions(+), 12 deletions(-) (limited to 'lily/item.cc') diff --git a/lily/item.cc b/lily/item.cc index d9abade41b..45cea7a7c4 100644 --- a/lily/item.cc +++ b/lily/item.cc @@ -19,6 +19,17 @@ Item::Item () broken_to_drul_[LEFT] = broken_to_drul_[RIGHT]=0; } +/** + Item copy ctor. Copy nothing: everything should be a elt property + or a special purpose poitner (such as broken_to_drul_[]) */ +Item::Item (Item const &s) + : Score_element (s) +{ + broken_to_drul_[LEFT] = broken_to_drul_[RIGHT] =0; +} + + + bool Item::breakable_b () const { @@ -29,12 +40,6 @@ Item::breakable_b () const return (i) ? i->breakable_b () : to_boolean (get_elt_property( "breakable")); } -Real -Item::hpos_f() const -{ - return relative_coordinate (0, X_AXIS); -} - Line_of_score * Item::line_l() const { @@ -163,12 +168,6 @@ Item::column_l () const return dynamic_cast (parent_l (X_AXIS))->column_l (); } -Item::Item (Item const &s) - : Score_element (s) -{ - broken_to_drul_[LEFT] = broken_to_drul_[RIGHT] =0; -} - Direction Item::break_status_dir () const { -- cgit v1.2.3