load and display a motif list
[mussa.git] / alg / glsequence.hpp
index aeedf47f75f58e52f2c7a637faed1dc40b6d4bee..c8c9b2b7eb58c41f1fe819c0f2670ffa32aabcb3 100644 (file)
@@ -1,6 +1,7 @@
 #ifndef _GL_SEQUENCE_H_
 #define _GL_SEQUENCE_H_
 
+#include "alg/annotation_colors.hpp"
 #include "alg/sequence.hpp"
 #include "alg/color.hpp"
 #include <GL/gl.h>
@@ -11,7 +12,7 @@
 class GlSequence
 {
 public: 
-  GlSequence(const Sequence & s);
+  GlSequence(const Sequence & s, AnnotationColors &cm);
   GlSequence(const GlSequence & s);
   GlSequence &operator=(const GlSequence &s);
 
@@ -73,6 +74,7 @@ protected:
   GLfloat seq_y;
   GLfloat seq_z;
   GLfloat seq_height;
+  AnnotationColors& color_mapper;
   Color drawColor;
   const GLfloat char_pix_per_world_unit;