]> git.donarmstrong.com Git - lilypond.git/blobdiff - lily/include/tie-configuration.hh
Run `make grand-replace'.
[lilypond.git] / lily / include / tie-configuration.hh
index 1e48922d68c2159767f2b058adfaf6c76e870082..7bc88d2762f3a5587635dc6427a89d5d30b60360 100644 (file)
@@ -3,19 +3,17 @@
 
   source file of the GNU LilyPond music typesetter
 
-  (c) 2005--2006 Han-Wen Nienhuys <hanwen@xs4all.nl>
+  (c) 2005--2008 Han-Wen Nienhuys <hanwen@xs4all.nl>
 
 */
 
 #ifndef TIE_CONFIGURATION_HH
 #define TIE_CONFIGURATION_HH
 
-#include "main.hh"
-#include "lily-proto.hh"
 #include "direction.hh"
 #include "interval.hh"
-#include "compare.hh"
 #include "std-vector.hh"
+#include "main.hh" // DEBUG_SLUR_SCORING
 
 class Tie_configuration
 {
@@ -25,6 +23,7 @@ class Tie_configuration
   Real score_;
   bool scored_;
   friend class Tie_formatting_problem;
+
 public:
   Real score () const { return score_; }
   string card () const { return score_card_; }
@@ -32,7 +31,8 @@ public:
   int position_;
   Direction dir_;
   Real delta_y_;
-
+  Drul_array<int> column_ranks_;
+  
   /* computed. */
   Interval attachment_x_;
 
@@ -42,6 +42,7 @@ public:
   Bezier get_transformed_bezier (Tie_details const &) const;
   Bezier get_untransformed_bezier (Tie_details const &) const;
   Real height (Tie_details const&) const;
+  int column_span_length () const;
   
   static int compare (Tie_configuration const &a,
                      Tie_configuration const &b);
@@ -67,6 +68,8 @@ public:
   void reset_score ();
   string card () const; 
   string tie_card (int i) const { return tie_score_cards_[i]; }
+  string complete_tie_card (vsize i) const;
+  string complete_score_card () const; 
 };
 
 #endif /* TIE_CONFIGURATION_HH */