X-Git-Url: http://woldlab.caltech.edu/gitweb/?p=mussa.git;a=blobdiff_plain;f=alg%2Fglsequence.hpp;h=b772cd2fa75e77510e1c2128fd2f5af5db4f06d9;hp=190401a956644ddc3aed36af42857be5bba7715f;hb=55f0a3e9612b3e1df2c588682d7f605203eab421;hpb=fd0de7877ef325b4922bfe9968d85607a681751d diff --git a/alg/glsequence.hpp b/alg/glsequence.hpp index 190401a..b772cd2 100644 --- a/alg/glsequence.hpp +++ b/alg/glsequence.hpp @@ -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