/*
This file is part of LilyPond, the GNU music typesetter.
- Copyright (C) 1999--2011 Han-Wen Nienhuys <hanwen@xs4all.nl>
+ Copyright (C) 1999--2015 Han-Wen Nienhuys <hanwen@xs4all.nl>
LilyPond is free software: you can redistribute it and/or modify
it under the terms of the GNU General Public License as published by
#include "spring.hh"
#include "smobs.hh"
-class Simple_spacer
+class Simple_spacer : public Simple_smob<Simple_spacer>
{
public:
Simple_spacer ();
Real configuration_length (Real) const;
vector<Real> spring_positions () const;
+ void set_force (Real force);
Real force () const;
Real force_penalty (bool ragged) const;
bool fits () const;
- DECLARE_SIMPLE_SMOBS (Simple_spacer);
private:
Real expand_line ();
bool ragged);
#endif /* SIMPLE_SPACER_HH */
-