X-Git-Url: https://git.donarmstrong.com/?a=blobdiff_plain;f=lily%2Finclude%2Fdot-configuration.hh;h=b4e2219e6c3280bc9dff618b0d934fe12e6a97dd;hb=47db9a3883d726ca53e2133a3b2298f78dd6a32e;hp=eba99d8c56818559f71c3578c24ddc876d6512ed;hpb=a6a4b3fc2009f17a1a48cca0c11bfd3f38645937;p=lilypond.git diff --git a/lily/include/dot-configuration.hh b/lily/include/dot-configuration.hh index eba99d8c56..b4e2219e6c 100644 --- a/lily/include/dot-configuration.hh +++ b/lily/include/dot-configuration.hh @@ -1,11 +1,20 @@ /* - dot-configuration.hh -- declare Dot_configuration + This file is part of LilyPond, the GNU music typesetter. - Source file of the GNU LilyPond music typesetter. Distributed under - terms of the GNU General Public License. LilyPond comes with NO - WARRANTY. + Copyright (C) 2007--2015 Han-Wen Nienhuys - (c) 2007--2008 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 DOT_CONFIGURATION_HH @@ -23,22 +32,20 @@ struct Dot_position Direction dir_; Grob *dot_; Box dot_extents_; - bool extremal_head_; Interval x_extent_; - + Dot_position () { dot_ = 0; pos_ = 0; dir_ = CENTER; - extremal_head_ = false; } }; struct Dot_configuration : public map { Dot_formatting_problem const *problem_; - + Dot_configuration (Dot_formatting_problem const &); Real x_offset () const; int badness () const;