make the path view independent of type of connection
[mussa.git] / alg / glsequence.cpp
index 674dcb0ea819a319d9b95d3c734e258f0cbf0f04..d802d6284f0878d5e63f4ffd83eb86947e82ad74 100644 (file)
@@ -70,6 +70,11 @@ GLfloat GlSequence::y() const
   return seq_y;
 }
 
+GLfloat GlSequence::height() const
+{
+  return seq_height;
+}
+
 GLfloat GlSequence::length() const
 {
   return seq.size();
@@ -194,6 +199,7 @@ void GlSequence::draw_box(GLfloat left, GLfloat right,
     glVertex3f(right, top,    z);
   glEnd();
 }
+
 void GlSequence::draw_track(GLfloat left, GLfloat right) const
 {
   glColor3fv(drawColor.get());
@@ -228,7 +234,6 @@ void GlSequence::draw_annotations(GLfloat left, GLfloat right) const
 
 }
 
-
 const int PT = 1;
 const int STROKE = 2;
 const int END =3;