X-Git-Url: https://git.donarmstrong.com/?a=blobdiff_plain;ds=sidebyside;f=lily%2Fside-position-interface.cc;h=ceee8a37cba397e79f099f9aaf41c5b1238d7809;hb=d8c103f73dec7a61da04f3be0ffa6a790660fb52;hp=73854bdc40cd0dc9b3899e3627e7fe67bad015d0;hpb=13a8e28de140702edbb0629002073972008e17ad;p=lilypond.git diff --git a/lily/side-position-interface.cc b/lily/side-position-interface.cc index 73854bdc40..ceee8a37cb 100644 --- a/lily/side-position-interface.cc +++ b/lily/side-position-interface.cc @@ -3,7 +3,7 @@ source file of the GNU LilyPond music typesetter - (c) 1998--2006 Han-Wen Nienhuys + (c) 1998--2007 Han-Wen Nienhuys */ #include "side-position-interface.hh" @@ -22,6 +22,7 @@ using namespace std; #include "staff-symbol.hh" #include "string-convert.hh" #include "misc.hh" +#include "grob.hh" void Side_position_interface::add_support (Grob *me, Grob *e) @@ -176,21 +177,21 @@ axis_aligned_side_helper (SCM smob, Axis a, bool pure, int start, int end, SCM c } -MAKE_SCHEME_CALLBACK_WITH_OPTARGS (Side_position_interface, x_aligned_side, 2, 1); +MAKE_SCHEME_CALLBACK_WITH_OPTARGS (Side_position_interface, x_aligned_side, 2, 1, ""); SCM Side_position_interface::x_aligned_side (SCM smob, SCM current_off) { return axis_aligned_side_helper (smob, X_AXIS, false, 0, 0, current_off); } -MAKE_SCHEME_CALLBACK_WITH_OPTARGS (Side_position_interface, y_aligned_side, 2, 1); +MAKE_SCHEME_CALLBACK_WITH_OPTARGS (Side_position_interface, y_aligned_side, 2, 1, ""); SCM Side_position_interface::y_aligned_side (SCM smob, SCM current_off) { return axis_aligned_side_helper (smob, Y_AXIS, false, 0, 0, current_off); } -MAKE_SCHEME_CALLBACK_WITH_OPTARGS (Side_position_interface, pure_y_aligned_side, 4, 1); +MAKE_SCHEME_CALLBACK_WITH_OPTARGS (Side_position_interface, pure_y_aligned_side, 4, 1, ""); SCM Side_position_interface::pure_y_aligned_side (SCM smob, SCM start, SCM end, SCM cur_off) { @@ -276,7 +277,7 @@ Side_position_interface::get_axis (Grob *me) return NO_AXES; } -ADD_INTERFACE (Side_position_interface, "side-position-interface", +ADD_INTERFACE (Side_position_interface, "Position a victim object (this one) next to other objects (the " "support). The property @code{direction} signifies where to put the " "victim object relative to the support (left or right, up or down?)\n\n "