X-Git-Url: https://git.donarmstrong.com/?a=blobdiff_plain;f=lily%2Finclude%2Fhorizontal-bracket.hh;h=3d140ae839c5d07a5c82a074080695c5a2372129;hb=6a87b40e3e24a49a2513507826e40a851dcbb1e4;hp=2645f2179819ad4fe1dea892258a770e0adb74d4;hpb=30eb1ded55e8d8b17495b96a3741750fe34d3599;p=lilypond.git diff --git a/lily/include/horizontal-bracket.hh b/lily/include/horizontal-bracket.hh index 2645f21798..3d140ae839 100644 --- a/lily/include/horizontal-bracket.hh +++ b/lily/include/horizontal-bracket.hh @@ -1,19 +1,37 @@ /* - horizontal-bracket.hh -- declare Horizontal_bracket + This file is part of LilyPond, the GNU music typesetter. - source file of the GNU LilyPond music typesetter + Copyright (C) 2005--2011 Han-Wen Nienhuys - (c) 2005 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 HORIZONTAL_BRACKET_HH #define HORIZONTAL_BRACKET_HH +#include "lily-proto.hh" +#include "std-vector.hh" +#include "grob-interface.hh" + struct Horizontal_bracket { DECLARE_SCHEME_CALLBACK (print, (SCM)); - static Stencil make_bracket (Grob *, Grob *, Link_array, Axis, Direction); - static bool has_interface (Grob *); + static Stencil make_bracket (Grob *, Real, Axis, Direction); + static Stencil make_enclosing_bracket (Grob *me, Grob *refpoint, + vector grobs, + Axis a, Direction dir); + DECLARE_GROB_INTERFACE(); }; #endif /* HORIZONTAL_BRACKET_HH */