Mark real sequence instead of Ns
[mussa.git] / alg / glsequence.hpp
index 190401a956644ddc3aed36af42857be5bba7715f..b772cd2fa75e77510e1c2128fd2f5af5db4f06d9 100644 (file)
@@ -36,7 +36,7 @@ public:
   static DrawableRef copy_drawable(DrawableRef s);
   
   //! search through sequence and add an annotation highlighting all the non AGCT characters
-  void add_annotations_for_undefined_sequence(Drawable::draw_func_ptr draw=0);
+  void add_annotations_for_defined_sequence(Drawable::draw_func_ptr draw=0);
   //! set our starting x (horizontal) coordinate
   void setX(float x);
   //! get our starting x (horizontal) coordinate
@@ -63,7 +63,8 @@ public:
   static
   void draw_box(GLfloat world_left, GLfloat world_right, 
                 GLfloat left, GLfloat right, GLfloat height,
-                GLfloat y, GLfloat z);
+                GLfloat y, GLfloat z,
+                GLint primitive=GL_QUADS);
   //! draw a track 
   /*! left and right are the edges of the current viewport
    */
@@ -129,5 +130,6 @@ protected:
   void draw_sequence(GLfloat, GLfloat) const;
 };
 
+void draw_track(SeqSpanRef ref, float left, float right);
 void draw_narrow_track(SeqSpanRef ref, float left, float right);
 #endif