// draw annotations
GLfloat annotation_z = z() + 10.0;
const std::list<annot>& annots = Sequence::annotations();
- const std::list<motif>& motifs = Sequence::motifs();
+ const MotifList& motifs = Sequence::motifs();
for (std::list<annot>::const_iterator annot_itor = annots.begin();
annot_itor != annots.end();
++annot_itor)
height(), annotation_z);
}
// if motifs?
- for (std::list<motif>::const_iterator motifs_itor = motifs.begin();
+ for (MotifList::const_iterator motifs_itor = motifs.begin();
motifs_itor != motifs.end();
++motifs_itor)
{
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