X-Git-Url: http://woldlab.caltech.edu/gitweb/?p=mussa.git;a=blobdiff_plain;f=alg%2Fglsequence.cpp;h=eb6cfe94574b49496dea22ca11e8498a5585f377;hp=17fb561c830c5cf3fc241a01e8de2353c4cc8691;hb=8b38b5bc63e5c62983d0814aa75d3f88b9116e49;hpb=4b9dd885cdfef6d73c82bae5f112a063588766a9 diff --git a/alg/glsequence.cpp b/alg/glsequence.cpp index 17fb561..eb6cfe9 100644 --- a/alg/glsequence.cpp +++ b/alg/glsequence.cpp @@ -257,7 +257,7 @@ void GlSequence::draw_annotations(GLfloat left, GLfloat right) const // draw annotations GLfloat annotation_z = z() + 10.0; const std::list& annots = Sequence::annotations(); - const std::list& motifs = Sequence::motifs(); + const MotifList& motifs = Sequence::motifs(); for (std::list::const_iterator annot_itor = annots.begin(); annot_itor != annots.end(); ++annot_itor) @@ -267,7 +267,7 @@ void GlSequence::draw_annotations(GLfloat left, GLfloat right) const height(), annotation_z); } // if motifs? - for (std::list::const_iterator motifs_itor = motifs.begin(); + for (MotifList::const_iterator motifs_itor = motifs.begin(); motifs_itor != motifs.end(); ++motifs_itor) { @@ -275,7 +275,6 @@ void GlSequence::draw_annotations(GLfloat left, GLfloat right) const draw_box(left, right, x()+motifs_itor->begin, x()+motifs_itor->end, height(), annotation_z+1.0); } - } // this way of drawing characters, came from the red open gl book