X-Git-Url: https://git.donarmstrong.com/?a=blobdiff_plain;f=lily%2Finclude%2Fspacing-options.hh;h=7f73cd6d1ae818270cbaa6c037419102f505fb1a;hb=3af0951f9a11677240efa6228683dd4fcea13eaf;hp=1b5ee32db09e49170f533713927f47bb1ffd3aee;hpb=965f52a64e989bb9f3f03b08e5f43dff1156a9eb;p=lilypond.git diff --git a/lily/include/spacing-options.hh b/lily/include/spacing-options.hh index 1b5ee32db0..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 @@ -14,6 +24,11 @@ #include "rational.hh" #include "std-vector.hh" +/* + Various options for spacing. Usually inited from SpacingSpanner, but sometimes + from GraceSpacing. + */ + struct Spacing_options { bool packed_; @@ -23,10 +38,9 @@ struct Spacing_options Rational global_shortest_; Real increment_; Real shortest_duration_space_; - vector columns_; - - 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 */