X-Git-Url: https://git.donarmstrong.com/?a=blobdiff_plain;f=lily%2Finclude%2Fspacing-options.hh;h=7f73cd6d1ae818270cbaa6c037419102f505fb1a;hb=c4e2aaeeb8a936aeadaf423cd2a292e2f51ecc8a;hp=faebb55489e7d2eb0ba934c84d7c64ca3d7e41db;hpb=9e69cb84d6ee5b0a861cd97869b10e3bdf0c833c;p=lilypond.git diff --git a/lily/include/spacing-options.hh b/lily/include/spacing-options.hh index faebb55489..7f73cd6d1a 100644 --- a/lily/include/spacing-options.hh +++ b/lily/include/spacing-options.hh @@ -1,10 +1,20 @@ -/* - spacing-options.hh -- declare Spacing_options - - source file of the GNU LilyPond music typesetter - - (c) 2006 Han-Wen Nienhuys - +/* + This file is part of LilyPond, the GNU music typesetter. + + Copyright (C) 2006--2015 Han-Wen Nienhuys + + LilyPond is free software: you can redistribute it and/or modify + it under the terms of the GNU General Public License as published by + the Free Software Foundation, either version 3 of the License, or + (at your option) any later version. + + LilyPond is distributed in the hope that it will be useful, + but WITHOUT ANY WARRANTY; without even the implied warranty of + MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the + GNU General Public License for more details. + + You should have received a copy of the GNU General Public License + along with LilyPond. If not, see . */ #ifndef SPACING_OPTIONS_HH @@ -12,6 +22,12 @@ #include "lily-proto.hh" #include "rational.hh" +#include "std-vector.hh" + +/* + Various options for spacing. Usually inited from SpacingSpanner, but sometimes + from GraceSpacing. + */ struct Spacing_options { @@ -23,8 +39,8 @@ struct Spacing_options Real increment_; Real shortest_duration_space_; - Spacing_options(); + Spacing_options (); void init_from_grob (Grob *me); - Real get_duration_space (Rational d, bool *) const; + Real get_duration_space (Rational d) const; }; #endif /* SPACING_OPTIONS_HH */