]> git.donarmstrong.com Git - lilypond.git/blobdiff - flower/axis.cc
* lily/include/pango-font.hh: new file.
[lilypond.git] / flower / axis.cc
index 92a1dea00132502821aab0de46c46c1dfcab457a..340a9f7d7be81410202b09c2eecd56d73387ef31 100644 (file)
@@ -1,39 +1,17 @@
 /*
   axis.cc -- implement Axis
 
-  source file of the GNU LilyPond music typesetter
 
-  (c)  1997--1998 Han-Wen Nienhuys <hanwen@stack.nl>
-*/
 
-#include <assert.h>
+  (c) 1997--2004 Han-Wen Nienhuys <hanwen@cs.uu.nl>
+*/
 
 #include "axes.hh"
+
 #include "string.hh"
 
 String
-axis_name_str (Axis a)
+axis_name_string (Axis a)
 {
-  return String (char(a + 'x'));
+  return to_string (char (a + 'x'));
 }
-
-/*
-  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;
-}
-