]> git.donarmstrong.com Git - lilypond.git/blobdiff - lily/include/dot-configuration.hh
Run `make grand-replace'.
[lilypond.git] / lily / include / dot-configuration.hh
index 1eed8f3c359a1b127a1bc3250bb2812c383d8e91..eba99d8c56818559f71c3578c24ddc876d6512ed 100644 (file)
@@ -5,7 +5,7 @@
   terms of the GNU General Public License.  LilyPond comes with NO
   WARRANTY.
 
-  (c) 2007 Han-Wen Nienhuys <hanwen@xs4all.nl>
+  (c) 2007--2008 Han-Wen Nienhuys <hanwen@xs4all.nl>
 */
 
 #ifndef DOT_CONFIGURATION_HH
@@ -13,6 +13,7 @@
 
 #include "lily-proto.hh"
 #include "direction.hh"
+#include "box.hh"
 
 #include <map>
 
@@ -21,8 +22,10 @@ struct Dot_position
   int pos_;
   Direction dir_;
   Grob *dot_;
+  Box dot_extents_;
   bool extremal_head_;
-
+  Interval x_extent_;
+  
   Dot_position ()
   {
     dot_ = 0;
@@ -34,11 +37,14 @@ struct Dot_position
 
 struct Dot_configuration : public map<int, Dot_position>
 {
+  Dot_formatting_problem const *problem_;
+  
+  Dot_configuration (Dot_formatting_problem const &);
+  Real x_offset () const;
   int badness () const;
   void print () const;
   Dot_configuration shifted (int k, Direction d) const;
-
-    void remove_collision (int p);
+  void remove_collision (int p);
 };
 
 #endif