Hosted by
|
with Messages; use Messages;
with Measures; use Measures;
with Measures.Output; use Measures.Output;
package body Parts.Output is
procedure Add
(To : access Collector'Class;
This : access Part)
is
use Measure_Lists;
Measures : Measure_List_Access := Get_Measures(This);
begin
Add_Stave(To);
Reset(Measures);
while Next(Measures) loop
Add(To, Current(Measures));
end loop;
end Add;
end Parts.Output;
|