X-Git-Url: https://git.donarmstrong.com/?a=blobdiff_plain;f=flower%2Faxis.cc;h=3cd973d58920c7646571a559e0a65adb4b77e6cf;hb=78526c02b2aa2d78c5b85ca56b9f529a34a0eb5f;hp=b9fc00b0040cc95044ad03cf548e2eca932d74ae;hpb=a6ee9dcd388111e842064a8d46ab06c4897a00d2;p=lilypond.git diff --git a/flower/axis.cc b/flower/axis.cc index b9fc00b004..3cd973d589 100644 --- a/flower/axis.cc +++ b/flower/axis.cc @@ -3,11 +3,11 @@ - (c) 1997--2000 Han-Wen Nienhuys + (c) 1997--2005 Han-Wen Nienhuys */ -#include #include "axes.hh" + #include "string.hh" String @@ -15,31 +15,3 @@ axis_name_string (Axis a) { return to_string (char (a + 'x')); } - - -Axis -other_axis (Axis a) -{ - return a == Y_AXIS ? X_AXIS : Y_AXIS; -} - -/* - TODO inline these. - */ -Axis -post_incr (Axis &a) -{ - assert (a < NO_AXES); - Axis b= a; - a = Axis (int (a) + 1); - return b; -} - -Axis -incr (Axis &a) -{ - assert (a < NO_AXES); - a = Axis (int (a) + 1); - return a; -} -