1 #ifndef _GL_SEQUENCE_H_
2 #define _GL_SEQUENCE_H_
4 #include "alg/sequence.hh"
7 //! Manage rendering a mussa sequence track
8 /*! The idea is this will keep track of the location of where the sequence
9 * is being rendered, and handle displaying annotations on that track
14 GlSequence(const Sequence & s);
15 GlSequence(const GlSequence & s);
16 GlSequence &operator=(const GlSequence &s);
19 /*! left and right are the current edges of the viewable world
21 void draw(GLfloat left, GLfloat right) const;
23 const Sequence& sequence() const;
28 void setWidth(GLfloat);
29 GLfloat width() const;
39 //! render a sequence (if we have enough space
40 /*! left and right are the current edges of the viewable world
42 void draw_sequence(GLfloat, GLfloat) const;
45 const float gl_track_height = 10.0;