/*   
  spring.hh -- declare Spring, Column_spring
  
  source file of the GNU LilyPond music typesetter
  
  (c) 1999 Han-Wen Nienhuys <hanwen@cs.uu.nl>
  
 */

#ifndef SPRING_HH
#define SPRING_HH

#include "lily-proto.hh"
#include "drul-array.hh"

struct Column_spring {
  Paper_column *other_l_;
  Real distance_f_;
  Real strength_f_;
  
  Column_spring ();
  static int compare (const Column_spring &r1, const Column_spring &r2);
  void print () const;
};

struct Spring{
  Drul_array<Item*> item_l_drul_;
  Real distance_f_;
  Real strength_f_;
  void add_to_cols ();
  Spring ();
};


#endif /* SPRING_HH */

