]> git.donarmstrong.com Git - lilypond.git/blobdiff - flower/axis.cc
*** empty log message ***
[lilypond.git] / flower / axis.cc
index 7b264c2da905c4156e408d619b1da1b3799f4263..3cd973d58920c7646571a559e0a65adb4b77e6cf 100644 (file)
@@ -3,11 +3,11 @@
 
 
 
-  (c) 1997--2004 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;
-}
-