diff options
author | Han-Wen Nienhuys <hanwen@xs4all.nl> | 2000-03-20 13:53:27 +0100 |
---|---|---|
committer | Han-Wen Nienhuys <hanwen@xs4all.nl> | 2000-03-20 13:53:27 +0100 |
commit | ee513a2f7d18fc8d43e1c291350ed81856b0192d (patch) | |
tree | b26bd9874221cbb917507ea4cc0117b410eb92ee /lily/item.cc | |
parent | 1a72867b0c5db394ec87a1901910792cf850bc57 (diff) |
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
Diffstat (limited to 'lily/item.cc')
-rw-r--r-- | lily/item.cc | 23 |
1 files changed, 11 insertions, 12 deletions
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<Item*> (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 { |