]> git.donarmstrong.com Git - lilypond.git/blobdiff - flower/axis.cc
(Entering lyrics):
[lilypond.git] / flower / axis.cc
index b9fc00b0040cc95044ad03cf548e2eca932d74ae..3cd973d58920c7646571a559e0a65adb4b77e6cf 100644 (file)
@@ -3,11 +3,11 @@
 
 
 
-  (c)  1997--2000 Han-Wen Nienhuys <hanwen@cs.uu.nl>
+  (c) 1997--2005 Han-Wen Nienhuys <hanwen@cs.uu.nl>
 */
 
-#include <assert.h>
 #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;
-}
-