projects
/
mussa.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
16ee726
)
draw a grey background to a track
author
Diane Trout
<diane@caltech.edu>
Sat, 14 Apr 2007 00:43:47 +0000
(
00:43
+0000)
committer
Diane Trout
<diane@caltech.edu>
Sat, 14 Apr 2007 00:43:47 +0000
(
00:43
+0000)
alg/glsequence.cpp
patch
|
blob
|
history
diff --git
a/alg/glsequence.cpp
b/alg/glsequence.cpp
index 5362b21b1ce96824865d734a6ae39fd7eb116c4a..040f71c30b1f9c439cdb3a1c540eb6dec53a86fd 100644
(file)
--- 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