Mercurial > hg > svgui
comparison layer/WaveformLayer.cpp @ 262:dae479593572
* more measurement tool stuff
author | Chris Cannam |
---|---|
date | Thu, 14 Jun 2007 17:03:16 +0000 |
parents | 11021509c4eb |
children | 4ed1446ad604 |
comparison
equal
deleted
inserted
replaced
261:11021509c4eb | 262:dae479593572 |
---|---|
1061 } | 1061 } |
1062 } | 1062 } |
1063 | 1063 |
1064 int my = m + (((channel - minChannel) * h) / channels); | 1064 int my = m + (((channel - minChannel) * h) / channels); |
1065 | 1065 |
1066 int vy = y - my; | 1066 int vy = my - y; |
1067 float value = 0; | 1067 float value = 0; |
1068 | 1068 |
1069 switch (scale) { | 1069 switch (scale) { |
1070 | 1070 |
1071 case LinearScale: | 1071 case LinearScale: |