X-Git-Url: https://git.donarmstrong.com/?a=blobdiff_plain;f=lily%2Finclude%2Fspacing-interface.hh;h=ddfe2efb1c43b48aed07249933cd37adfa3b922f;hb=cee6cea4ed55eb4fa1f9d83c997ebc19744a6e1a;hp=e670d8a0fa00bdcfcc475316b96d08da4ee95c84;hpb=9589d04a2647157e73c188f55cd4094b7e6dcc26;p=lilypond.git diff --git a/lily/include/spacing-interface.hh b/lily/include/spacing-interface.hh index e670d8a0fa..ddfe2efb1c 100644 --- a/lily/include/spacing-interface.hh +++ b/lily/include/spacing-interface.hh @@ -1,9 +1,20 @@ /* - spacing-interface.hh -- declare Spacing_interface + This file is part of LilyPond, the GNU music typesetter. - source file of the GNU LilyPond music typesetter + Copyright (C) 2002--2015 Han-Wen Nienhuys - (c) 2002--2007 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 . */ #include "grob-interface.hh" #include "lily-proto.hh" @@ -14,12 +25,13 @@ struct Spacing_interface { static Real minimum_distance (Grob *me, Grob *right_col); - static vector right_note_columns (Grob *me); - static vector left_note_columns (Grob *me); - static Item* right_column (Grob *me); - static Item* left_column (Grob *me); + static vector right_note_columns (Grob *me); + static vector left_note_columns (Grob *me); + static Item *right_column (Grob *me); + static Item *left_column (Grob *me); + static Drul_array skylines (Grob *me, Grob *right_col); + static Grob *extremal_break_aligned_grob (Grob *me, Direction, Direction, Interval *); - DECLARE_GROB_INTERFACE(); }; #endif /* SPACING_INTERFACE_HH */