From: Diane Trout Date: Sat, 14 Apr 2007 00:43:47 +0000 (+0000) Subject: draw a grey background to a track X-Git-Url: http://woldlab.caltech.edu/gitweb/?p=mussa.git;a=commitdiff_plain;h=4e0002d11a79e4646d15513042996c3df5e35457 draw a grey background to a track --- diff --git a/alg/glsequence.cpp b/alg/glsequence.cpp index 5362b21..040f71c 100644 --- a/alg/glsequence.cpp +++ b/alg/glsequence.cpp @@ -353,9 +353,12 @@ void GlSequence::draw_box(GLfloat world_left, GLfloat world_right, void GlSequence::draw_track(GLfloat left, GLfloat right) const { - glColor3fv(color()->get()); // draw main sequence track + glColor3fv(color()->get()); draw_box(left, right, x(), x()+Sequence::size(), height(), y(), 0.0, GL_LINE_LOOP); + + glColor3f(0.8, 0.8, 0.8); + draw_box(left, right, x(), x()+Sequence::size(), height(), y(), 0.0); } void GlSequence::draw_annotations(GLfloat left, GLfloat right) const