]> git.donarmstrong.com Git - lilypond.git/commitdiff
lilypond-0.0.28
authorfred <fred>
Sun, 24 Mar 2002 19:30:18 +0000 (19:30 +0000)
committerfred <fred>
Sun, 24 Mar 2002 19:30:18 +0000 (19:30 +0000)
hdr/colhpos.hh [new file with mode: 0644]
hdr/proto.hh
hdr/pscore.hh

diff --git a/hdr/colhpos.hh b/hdr/colhpos.hh
new file mode 100644 (file)
index 0000000..d066574
--- /dev/null
@@ -0,0 +1,29 @@
+/*
+  colhpos.hh -- part of LilyPond
+
+  (c) 1997 Han-Wen Nienhuys <hanwen@stack.nl>
+*/
+
+#ifndef COLHPOS_HH
+#define COLHPOS_HH
+#include "varray.hh"
+#include "proto.hh"
+
+typedef Array<PCol*>  Line_of_cols;
+
+struct Col_hpositions {
+    Line_of_cols cols;
+    Array<Real> config;
+    Real energy;
+
+    /****************/
+    void OK()const;
+
+    Col_hpositions();
+    void add( PCol*c);
+    void print() const;
+};
+
+
+#endif // COLHPOS_HH
+
index 4987a705477a4525174a0ad21ed56435f35fcf9f..1ef4d8d9f24adc48afd4d4e4dac9d3fab8b7985a 100644 (file)
@@ -23,7 +23,7 @@ struct CNote_info;
 struct Chord;
 struct Clef;
 struct Clef_item;
-struct Col_configuration;
+struct Col_hpositions;
 struct Colinfo;
 struct Command;
 struct Commands_at ;
@@ -90,8 +90,10 @@ struct Slur;
 struct Slur_req;
 class Source;
 class Source_file;
+struct Spacing_req ;
 struct Span_req;
 struct Spanner;
+struct Blank_req;
 struct Staff;
 struct Staff_column;
 struct Staff_command_req;
index f79624735356498e7969a3c2b8c2996a33d8ba1f..3b47c65e44580bcfc820606f08f8a7a0c1b37aea 100644 (file)
@@ -3,7 +3,7 @@
 #ifndef PSCORE_HH
 #define PSCORE_HH
 
-#include "break.hh"
+#include "colhpos.hh"
 #include "varray.hh"
 #include "pcol.hh"
 #include "pstaff.hh"
@@ -38,7 +38,7 @@ struct PScore {
     
     PScore(Paperdef*);
     /// add a line to the broken stuff. Positions given in #config#
-    void set_breaking(Array<Col_configuration>);
+    void set_breaking(Array<Col_hpositions>);
 
     void add(PStaff *);